Part Number Hot Search : 
T3904 8YITE MA80470L C16LF FBM17PT N5231 0SPBF 030PBF
Product Description
Full Text Search
 

To Download AD1986A Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ac 97 and hd audio soundmax codec AD1986A rev. 0 information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. specifications subject to change without notice. no license is granted by implication or otherwise under any patent or patent ri ghts of analog devices. trademarks and registered trademarks are the prop erty of their respective owners. one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 781.329.4700 www.analog.com fax: 781.461.3113 ? 2005 analog devices, inc. all rights reserved. features supports both ac 97 and hd audio interfaces 6 dac channels for 5.1 surround s/pdif output integrated headphone amplifiers variable rate audio double rate audio (f s = 96 khz) greater than 90 db dynamic range 20-bit resolution on all dacs 20-bit resolution on all adcs line-level mono phone input high quality differential cd input selectable mic input with preamp aux and line-in stereo inputs external amplifier power down (eapd) power management modes jack sensing and device identification 48-lead lqfp package enhanced features integrated parametric speaker equalizer stereo microphone with up to 30 db gain boost integrated pll for system clocking variable sample rate: 7 khz to 96 khz 7 khz to 48 khz in 1 hz increments 96 khz for double rate audio jack sense with autotopology switching jack presence detection on up to 8 jacks three software-controlled microphone bias signals software-enabled outputs for jack sharing auto-down mix and channel spreading microphone-to-mono output for speakerphone stereo microphone pass-through to mixer built-in microphone/center/lfe/line-in sharing built-in surround/line_in sharing center/lfe swapping supporting all vendor speakers microphone left/right swapping reduced support component count general-purpose digital output pin (gpo) line_out and hp_out, headphone drive on both
AD1986A rev. 0 | page 2 of 56 table of contents functional block diagram .............................................................. 4 specifications..................................................................................... 5 absolute maximum ratings............................................................ 9 environmental conditions.......................................................... 9 esd caution.................................................................................. 9 pin configuration and function description ........................... 10 ac97 registers............................................................................... 12 hd audio widgets ......................................................................... 14 ac 97 register details .................................................................. 21 reset (register 0x00).................................................................. 21 master volume (register 0x02) ................................................ 21 headphone volume (register 0x04) ........................................ 22 mono volume (register 0x06).................................................. 22 pc beep (register 0x0a)........................................................... 23 phone volume (register 0x0c) ................................................ 23 microphone volume (register 0x0e) ...................................... 24 line_in volume (register 0x10)............................................... 25 cd volume (register 0x12) ...................................................... 25 aux volume (register 0x16).................................................... 26 front dac volume (register 0x18)......................................... 26 adc select (register 0x1a)...................................................... 27 adc volume (register 0x1c) .................................................. 28 general-purpose (register 0x20)............................................. 29 audio int and paging (register 0x24) ..................................... 29 power-down ctrl/stat (register 0x26).................................... 30 extended audio id (register 0x28)......................................... 31 extd audio stat/ctrl (register 0x2a)...................................... 32 front dac pcm rate (register 0x2c) ................................... 33 surround dac pcm rate (register 0x2e)............................. 34 c/lfe dac pcm rate (register 0x30) .................................. 34 adc pcm rate (register 0x32) .............................................. 34 c/lfe dac volume (register 0x36)....................................... 35 surround dac volume (register 0x38).................................. 35 spdif control (register 0x3a)................................................ 36 eq control register (register 0x60) ....................................... 37 eq data register (register 0x62) ............................................ 38 misc control bits 2 (register 0x70)......................................... 38 jack sense (register 0x72)......................................................... 39 serial configuration (register 0x74)....................................... 41 misc control bits 1 (register 0x76)......................................... 43 advanced jack sense (register 0x78) ...................................... 45 misc control bits 3 (register 0x7a)........................................ 45 vendor id registers (register 0x7c to 0x7e) ........................ 47 codec class/revision register (register 0x60) ..................... 47 pci subsystem vendor id register (register 0x62, page 01)............................................................. 48 pci subsystem device id register (register 0x64, page 01)48 function select register (register 0x66, page 01) ................. 49 information and i/o register (register 0x68, page 01) ........ 50 sense register (register 0x6a, page 01).................................. 51 jack presence detection................................................................. 53 audio jack styles (nc/no) ...................................................... 53 microphone selection/mixing...................................................... 54 outline dimensions ....................................................................... 55 ordering guide .......................................................................... 55 revision history 4/05revision 0: initial version
AD1986A rev. 0 | page 3 of 56 notes reduced support components the AD1986A includes many improvements that reduce external support components for particular applications. ? multiple microphone sourcing: the mic_1/2, line_in and c/lfe pins can all be selected as sources for microphone input (boost amplifier). ? multiple vref_out pins: each microphone-capable pin group (mic_1/2, line_in and c/lfe) has separate, software controllable vref_out pins, reducing the need for external biasing components. ? internal microphone mixing: any combination of the mic_1/2, line_in and c/lfe pins can be summed to produce the microphone input. this removes the need for external mixing components in applications that externally mix microphone sources. ? advanced jack presence detection: using two codec pins, eight resistors and isolated switch jacks, the AD1986A can detect jack insertion on eight separate jacks. ? internal microphone/line in/c/lfe sharing: on systems that share the microphone with the c/lfe jack no external components are required. the microphone selector can select the line_in pins when the microphone and line input devices are swapped. ? internal line in/microphone/surround sharing: on systems that share the line in with the surround jack no external components are required. ? dual headphone amplifiers: the AD1986A can drive headphones out of the hp_out or line_out pins.
AD1986A rev. 0 | page 4 of 56 functional block diagram 04785-001 dac slot logic adc slot logic ac '97/hd audio interface eq coef storage ac '97 control registers gpio eapd analog mixing control jack sense pll reset sync bitclk sdata_out sdata_in jack_sense_a jack_sense_b eapd gpo vref_out (mic1/2) vref_out (c/lfe) vref_out (line_in) vref_filt 20-bit 20-bit - ? adc codec core 24-bit - ? dac 24-bit - ? dac 24-bit - ? dac 24-bit - ? dac eq 24-bit - ? dac eq 24-bit - ? dac - ? adc m g = gain a = attenuation m = mute z = hi-z m g m z g m ga m ga m ga m ga m ga m ga m a m ga m ga m ga mmm ga m ga m ga m ga m ga m ga m m m phone_in cd_l cd_gnd cd_r aux_l aux_r line_in_l cd diff amp line in select microphone selector/ mixing and gain block line_in_r pcbeep_in sprd mz a lfe_out sprd mz a center_out sosel mz a surr_out_l sosel mz a surr_out_r line_out_l m a mono_out line_out_r m a hp_out_l m a hp_out_r hp hp mix hpsel hpsel m a m a hp hp losel losel g z g z g voltage reference AD1986A ac97ck spdif_out spdif tx record selector pc beep generator mic_1 mic_2 figure 1.
AD1986A rev. 0 | page 5 of 56 specifications test conditions, unless otherwise noted. table 1. parameter typ unit temperature 25 c digital supply (dv dd ) 3.3 10% v analog supply (av dd ) 5.0 10% v sample rate (f s ) 48 khz input signal 1.0 khz analog output pass band 20 hzC20 khz v ih 2.0 v v il 0.8 v v ih 2.4 v v il 0.6 v dac test conditions calibrated output ?3 db relative to full scale 10 k? output load: line (surround), mono 32 ? output load: headphone 2 k? output load: center, lfe adc test conditions calibrated 0 db pga gain input ?3.0 db relative to full scale table 2. analog input input voltage min typ max unit mic_1/2, line_in, cd, aux, phone_in (no preamp) 1 vrms 1 c/lfe and surround (when used as inputs) 2.83 v p-p mic_1/2, line_in, c/lfe with 30 db preamp 0.032 vrms 0.089 v p-p mic_1/2, line_in, c/lfe with 20 db preamp 0.1 vrms 0.283 v p-p mic_1/2, line_in, c/lfe with 10 db preamp 0.316 vrms 0.894 v p-p input impedance 2 20 k? input capacitance 2 5 7.5 pf 1 rms values assume sine wave input. 2 guaranteed by design, not production tested. table 3. master volume parameter min typ max unit step size (line_out, hp out, mono out, surround, center, lfe) ?1.5 db output attenuation range (0 db to C46.5 db) ?46.5 db mute attenuation of 0 db fundamental 2 ?80 db table 4. programmable gain amplifieradc parameter min typ max unit step size 1.5 db pga gain range span (0 db to 22.5 db) 22.5 db
AD1986A rev. 0 | page 6 of 56 table 5. analog mixerinput gain/amplifiers/attenuators parameter min typ max unit signal-to-noise ratio (snr) cd to line_out 90 db line, aux, phone to line_out 1 88 db mic_1 or mic_2 to line_out 1 80 db step size: all mixer inputs (e xcept pc beep) ?1.5 db step size: pc beep ?3.0 db input gain/attenuation range: all mixer in puts (+12 db to ?34. 5 db) ?46.5 db 1 guaranteed by design, not production tested. table 6. digital decimation and interpolation filters 1 parameter min typ max unit pass band 0 0.4 f s hz pass-band ripple 0.09 db transition band 0.4 f s 0.6 f s hz stop band 0.6 f s hz stop-band rejection ?74 db group delay 16/f s s group delay variation over pass band 0 s table 7. analog-to-digital converters parameter min typ max unit resolution 20 bits total harmonic distortion (thd) ?95 db dynamic range (?60 db input, thd + n referenc ed to full scale, a-weighted) ?85 db crosstalk: line inputs (input l, ground r, read r; input r, ground l, read l) ?80 db crosstalk: line_in to other inputs ?100 ?80 db gain error (full-scale span relative to nominal input voltage) 10 % interchannel gain mismatch (differe nce of gain errors) 0.5 db adc offset error 5 mv
AD1986A rev. 0 | page 7 of 56 table 8. digital-to-analog converters parameter min typ max unit resolution 20/24 bits total harmonic distortion (line_out drive) ?92 db total harmonic distortion (hp_out) ?75 db dynamic range (?60 db input, thd + n refere nced to full-scale, a-weighted) 91 db gain error (full-scale span relative to nominal input voltage) 10 % interchannel gain mismatch (differe nce of gain errors) 0.7 db dac crosstalk 1 (input l, zero r, read r_out; input r, zero l, read l_out) ?80 db 1 guaranteed by design, not production tested. table 9. analog output parameter min typ max unit full-scale output voltage: surround, center/lfe, mono_out 1 vrms 2.83 v p-p output impedance 1 300 ? external load impedance 1 10 k? output capacitance 1 15 pf external load capacitance 1,000 pf full-scale output voltage: hp_out, line_out 1 vrms 2.83 v p-p output impedance 1 1 ? external load impedance 1 32 ? output capacitance 1 15 pf external load capacitance 1 1,000 pf vref_filt 2.050 2.250 2.450 v vref_out(mic, c/lfe, lin) (x vref [2:0] = 001) 2.250 v (xvref [2:0] = 100, a vdd = 5.0 v) 3.700 v (xvref [2:0] = 010) 0.0 v current drive 5 ma mute click (muted output, unmuted midscale dac output) 5 mv 1 guaranteed by design, not production tested. table 10. static digital specificationsac 97 parameter min typ max unit high level input voltage (v ih ), digital inputs 0.65 dv dd v low level input voltage (v il ) 0.35 dv dd v high level output voltage (v oh ), i oh = 2 ma 0.90 dv dd v low level output voltage (v ol ), i ol = 2 ma 0.10 dv dd v input leakage current ?10 10 a output leakage current ?10 10 a input/output pin capacitance 7.5 pf
AD1986A rev. 0 | page 8 of 56 table 11. power supply (quiescent state) parameter min typ max unit power supply rangeanalog (av dd ) 10% 4.5 5.5 v power supply rangedigital (dv dd ) 10% 2.97 3.63 v power dissipationanalog (av dd )/digital (dv dd ) 365/171.6 mw analog supply currentanalog (av dd ) 62.0 ma digital supply currentdigital (dv dd ) 53.2 ma power supply rejection (100 mv pCp signal @ 1 khz) 40 db table 12. power-down state sac 97 (quiescent state) parameter set bits av dd typ dv dd typ unit adc pr0 53.0 45.7 ma front dac pr1 53.7 47.7 ma center dac pri 62.0 53.2 ma surround dac prj 53.5 47.1 ma lfe dac prk 62.0 52.8 ma adc + all dacs pr1, pr0, pri, prj, prk 27.0 14.5 ma mixer pr2 36.6 53.2 ma adc + mixer pr2, pr0 27.6 45.7 ma all dacs + mixer pr2, pr1, pri, prj, prk 12.6 33.0 ma adc + all dacs + mixer pr2, pr1, pr0, pri, prj, prk 2.4 14.5 ma standby pr5, pr4, pr3, pr2, pr1(ijk), pr0 0.0 0.05 ma headphone standby pr6 55.0 53.2 ma line_out hp standby lohpen = 0 62.0 53.2 ma table 13. clock specifications parameter min typ max unit input clock frequency (reference clock mode) 14.31818 48.000 mhz mhz recommended clock duty cycle 40 50 60 %
AD1986A rev. 0 | page 9 of 56 absolute maximum ratings table 14. power supply min max unit digital (dv dd ) ?0.3 +3.6 v analog (av dd ) ?0.3 +6.0 v input current (except supply pins) 10.0 ma analog input voltage (signal pins) ?0.3 av dd + 0.3 v digital input voltage (signal pins) ?0.3 dv dd + 0.3 v ambient temperature (operating) commercial industrial 0 C40 +70 +85 c storage temperature ?65 +150 c stresses greater than those listed under absolute maximum ratings can cause permanent damage to the device. this is a stress rating only, functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. exposure to absolute maximum rating conditions for extended periods can affect device reliability. environmental conditions ambient temperature rating t amb = t case ? (pd ca ) t case = case temperature in c pd = power dissipation in w ca = thermal resistance (case-to-ambient) ja = thermal resistance (junction-to-ambient) jc = thermal resistance (junction-to-case) table 15. thermal resistance package ja jc ca lqfp 48c/w 17c/w 31c/w lfcsp 47c/w 15c/w 32c/w esd caution esd (electrostatic discharge) sensitive device. electrosta tic charges as high as 4000 v readily accumulate on the human body and test equipment and can discharge without de tection. although th is product features proprietary esd protection circuitry, permanent dama ge may occur on devices subjected to high energy electrostatic discharges. therefore, proper esd precautions are recommended to avoid performance degradation or loss of functionality.
AD1986A rev. 0 | page 10 of 56 pin configuration and function description 04785-002 pin 1 identifier top view (not to scale) AD1986A s/pdif_out eapd av dd line_out_r av ss line_out_l av dd headphone_r av ss headphone_l av dd mono_out phone_in aux_l aux_r jack_sense_a jack_sense_b cd_l cd_gnd cd_r mic_1 mic_2 line_in_l line_in_r dv dd ac97ck gpo dv ss sdata_out bit_clk dv ss sdata_in dv dd sync reset pcbeep surr_out_r surr_out_l av dd vref_out (c/lfe) lfe_out center_out av ss vref_out (line_in) vref_out (mic_1/2) vref_filt av ss av dd 48 47 46 45 44 39 38 37 43 42 41 40 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 36 35 34 33 32 31 30 29 28 27 26 25 figure 2. pin configuration table 16. pin function descriptions mnemonic pin number input/ouput description ac 97ck 2 i external clock in (14.31818 mhz) for ac 97 operation. clock or dvss must be stable before reset deasserts. tied to digital ground for hd audio operation. sdata_out 5 i link serial data output. input stream. bit_clk 6 i/o link bit clock, 12.288 mhz serial data clock output for ac 97, 24 mhz input for hd audio. sdata_in 8 i/o link seri al data input. output stream. sync 10 i link frame sync. reset 11 i link reset, master hardware reset. table 17. digital input/output mnemonic pin number input/ output description s/pdif_out 48 o s/pdif output. eapd 47 o external amplifier power-down output. in hd audio mode this is part of line_out widget. gpo 3 o general-purpose output pin. a digital signal that can be used to co ntrol external circuitry. table 18. jack sense mnemonic pin number input/ouput description jack_sense_a 16 i jacksense 0C3 input. jack_sense_b 17 i jack sense 4C7 input.
AD1986A rev. 0 | page 11 of 56 table 19. analog input/output mnemonic pin number input/ ouput description pcbeep 12 i analog pc beep input. routed to all output capable pins wh en reset is asserted. phone_in 13 i mono line level input. aux_l 14 i auxiliary left channel input. aux_r 15 i auxiliary right channel input. cd_l 18 i cd-audio-left channel. cd_gnd 19 i cd-audio-analog-ground-r eference (for differential cd input). cd_r 20 i cd-audio-right channel. mic_1 21 i microphone 1 or line-in-left input (see lisel bits in register 0x76). mic_2 22 i microphone 2 or line-in-right input (see lisel bits in register 0x76). line_in_l 23 i line-in-left channel or microp hone 1 input (see oms bits in register 0x74). line_in_r 24 i line-in-right channel or microp hone 2 input (see oms bits in register 0x74). center_out 31 i/o center-channel output or micr ophone 1 input (see oms bits in register 0x74). lfe_out 32 i/o low-frequency-enhanced output or mi crophone 2 input (see oms bits in register 0x74). headphone_l 39 o headphone-out-left ch annel (see hpsel bits in register 0x76). headphone_r 41 o headphone-out-right ch annel (see hpsel bits in register 0x76). line_out_l 43 o line-out (front)left channel (s ee losel bit in register 0x76) (hp drive-capable). line_out_r 45 o line-out (front)right channel (s ee losel bit in register 0x76) (hp drive-capable). mono_out 37 o mono output to te lephony subsystem speakerphone. surr_out_l 35 i/o surround-left channel output or line-in- left input (see lisel and sos el bits in register 0x76). surr_out_r 36 i/o surround-right channel output or line-in-ri ght input (see lisel and sosel bits in register 0x76). table 20. filter/reference mnemonic pin number input/ ouput description vref_filt 27 o voltage reference filter. vref_out (mic) 28 o programmable voltage reference o utput (intended for mic bias on the mic_1/2 channels). vref_out (line_in) 29 o programmable voltage reference output (int ended for mic bias on the line_in channels). vref_out (c/lfe) 33 o programmable voltage reference output (intended for mic bias on the c/lfe channels). table 21. power and ground mnemonic pin number input/ ouput description dv dd 1, 9 n/a digital supply voltage (3.3 v). dv ss 4, 7 n/a digital supply return (ground). av dd 25, 34, 38, 42, 46 n/a analog supply voltage (5.0 v). av dd supplies should be well filtered because supply noise will degrade performance. av ss 26, 30, 40, 44 n/a analog supply return (ground).
AD1986A rev. 0 | page 12 of 56 ac97 registers table 22. register map reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x00 reset x se4 se3 se2 se1 se0 id9 id 8 id7 id6 id5 id4 id3 id2 id1 id0 0x0290 0x02 master volume lm x x lv4 lv3 lv2 lv1 lv0 rm x x rv4 rv3 rv2 rv1 rv0 0x8080 0x04 headphones volume lm x x lv4 lv3 lv 2 lv1 lv0 rm x x rv4 rv3 rv2 rv1 rv0 0x8080 0x06 mono volume m x x x x x x x x x x v4 v2 v2 v1 v0 0x8000 0x0a pc beep m a/ds x f7 f6 f5 f4 f3 f2 f1 f0 v3 v2 v1 v0 x 0x8000 0x0c phone volume m x x x x x x x x x x v4 v3 v2 v1 v0 0x8008 0x0e microphone volume lm x x lv4 lv3 lv2 lv 1 lv0 rm m20 x rv4 rv3 rv2 rv1 rv0 0x8888 0x10 line in volume lm x x lv4 lv3 lv2 lv1 lv0 rm x x rv4 rv3 rv2 rv1 rv0 0x8888 0x12 cd volume lm x x lv4 lv3 lv2 lv1 lv 0 rm x x rv4 rv3 rv2 rv1 rv0 0x8888 0x16 aux volume lm x x lv4 lv3 lv2 lv1 lv 0 rm x x rv4 rv3 rv2 rv1 rv0 0x8888 0x18 front dac volume lm x x lv4 lv3 lv2 lv1 lv0 rm x x rv4 rv3 rv2 rv1 rv0 0x8888 0x1a adc select x x x x x ls2 ls1 ls0 x x x x x rs2 rs1 rs0 0x0000 0x1c adc volume lm x x x lv3 lv2 lv1 lv0 rm x x x rv3 rv2 rv1 rv0 0x8080 0x20 general purpose x x x x drss1 drss0 mix ms lpbk x x x x x x x 0x0000 0x24 audio int. and paging i4 i3 i2 i1 i0 x x x x x x x pg3 pg2 pg1 pg0 0xxx00 0x26 power-down ctrl/stat eapd pr6 pr5 pr4 pr3 pr 2 pr1 pr0 x x x x ref anl dac adc 0x000x 0x28 extd audio id id1 1 id0 x x rev1 rev0 amap ldac sdac cdac dsa1 dsa0 x spdf dra vra 0x0bc7 0x2a extd audio stat/ctrl x x prk prj pri spcv x ldac sdac cdac spsa1 spsa0 x spdif dra vra 0x0xx0 0x2c front dac pcm rate r15 r14 r13 r12 r11 r10 r09 r08 r07 r06 r05 r04 r03 r02 r01 r00 0xbb80 0x2e surr. dac pcm rate r15 r14 r13 r12 r11 r10 r09 r08 r07 r06 r05 r04 r03 r02 r01 r00 0xbb80 0x30 c/lfe dac pcm rate r15 r14 r13 r12 r11 r10 r09 r08 r07 r06 r05 r04 r03 r02 r01 r00 0xbb80 0x32 adc pcm rate r15 r14 r13 r12 r11 r10 r09 r08 r07 r06 r05 r04 r03 r02 r01 r00 0xbb80 0x36 c/lfe dac volume lfem x x lfe4 lfe3 lfe2 lfe1 lfe0 cntm x x cnt4 cnt3 cnt2 cnt1 cnt0 0x8888 0x38 surround dac volume lm x x lv4 lv3 lv2 lv1 lv0 rm x x rv4 rv3 rv2 rv1 rv0 0x8888 0x3a spdif control v vcfg spsr x l cc6 cc5 cc4 cc3 cc2 cc1 cc0 pre copy / audio pro 0x2000 0x60 eq control eqm x x x x x x x sym chs bca5 bca4 bca3 bca2 bca1 bca0 0x8080 0x62 eq data cfd15 cfd14 cfd13 cfd12 cfd11 cfd10 cfd9 cfd8 cfd7 cfd6 cfd5 cfd4 cfd3 cfd2 cfd1 cfd0 0xxxxx 0x70 misc. control bits 2 x x x mvref2 mvref1 mvref0 x x mmdis x jsmap cvref2 cvref1 cvref0 x x 0x0000 0x72 jack sense js1 sprd js1 dmx js0 dmx js mt2 js mt1 js mt0 js 1 eqb js0 eqb x x js1 md js0 md js1 st js0 st js1 int js0 in t 0x0000 0x74 serial configuration slot16 regm2 re gm1 regm0 regm3 oms2 oms1 oms0 spovr lbks 1 lbks0 ints cswp spal spdz splnk 0x1001 0x76 misc. control bits 1 dacz ac97nc 2 msplt sodis 3 cldis x dmix1 dmix0 sprd 2cmic sosel s ru lisel1 lisel0 mbg1 mbg0 0x6010 0x78 advanced jack sense js7st js7int js6st js6int js5st js5int js4st js4int js4-7h x js3md js2m d js3st js2st js3int js2 int 0xxxxx 0x7a misc. control bits 3 jsinvb hpsel1 hpsel0 losel jsinva lvre f2 lvref1 lvref0 x x x lohpen gpo mmix x x 0x0000 0x7c vendor id1 f7 f6 f5 f4 f3 f2 f1 f0 s7 s6 s5 s4 s3 s2 s1 s0 0x4144 0x7e vendor id2 t7 t6 t5 t4 t3 t2 t1 t0 rev7 rev6 rev5 rev4 rev3 rev2 rev1 rev0 0x5378 0x601 codec class/rev x x x cl4 cl3 cl2 cl1 cl 0 rv7 rv6 rv5 rv4 rv3 rv2 rv1 rv0 0x0002 0x621 pci svid pvi15 pvi14 pvi13 pvi12 pvi11 pvi10 pvi9 pvi8 pvi7 pvi6 pvi5 pvi4 pvi3 pvi2 pvi1 pvi0 0xffff 0x641 pci sid pi15 pi14 pi13 pi12 pi11 pi10 pi9 pi8 pi7 pi6 pi5 pi4 pi3 pi2 pi1 pi0 0xffff
AD1986A rev. 0 | page 13 of 56 reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x661 function select x x x x x x x x x x x fc3 fc2 fc1 fc0 t/r 0x0000 0x681 function information g4 g3 g2 g1 g0 inv dl4 dl3 dl2 dl1 dl0 iv x x x fip 0xxxxx 0x6a1 sense register st2 st1 st0 s4 s3 s2 s1 s0 or1 or0 sr5 sr4 sr3 sr2 sr1 sr0 0xxxxx 1 codec is always master, id bi ts are read-only 0 (zeros). 2 bits for the ad198x are backward-compatible only, ac97nc and msplt ar e read-only 1 (ones). 3 sodis/sosel were lodis/losel in the ad1985. most ad1985 configurati ons swap line_out and surround pins; these bits really oper ate as so not lo.
AD1986A rev. 0 | page 14 of 56 hd audio widgets table 23. root node nid name tid type description 0x00 root n/a root device identification. table 24. function group node nid name tid type description 0x01 function n/a function designates this device as an audio codec. table 25. adi specific verb support payload verb g/s vid description bit response (32 bits) description sdi select get 0xf04 n/a (0) n/a (0) the AD1986A has only a single sdi line, thus set sdi verbs are ignored and get sdi verbs always return a 0. set 0x704x n/a (0) 8 n/a (0) processing coefficient get c--0x n/a (0) adi-specific function setting get/set the vendor specific function at the below coefficient index address. address is an 8-bit value and does not auto-increment. set 4--x adi-specific function control 16 n/a (0) coefficient index get d--0x n/a (0) adi function index get/set the index of the vendor-specific function. the index does not auto-increment when writing the function (processin g coefficient) command. set 5--0x adi function index 8 n/a (0) processing index get 0xf03 n/a (0) n/a (0) no processing states are supported by this node. set operations do nothing, get operations always return a 0. set 0x703 n/a (0) 8 n/a (0) table 26. s/pdif audio output nid name tid type description 0x02 s/pdif audio output 0x0 audio output designates the codec s/pdif digital stream interface. selects between the hd audio i/f and the record adc as sources. table 27. adi specific verb support payload verb g/s vid description bit response (32 bits) description get 0xf04 n/a (0) n/a (0) sdi select set 0x704 n/a (0) 8 n/a (0) the ad1986 has only a single sdi line, thus set sdi verbs are ignored and get sdi verbs always return a 0. table 28. front dac audio output nid name tid type description 0x03 front dac audio output 0x0 audio outp ut designates the front channel dacs.
AD1986A rev. 0 | page 15 of 56 table 29. adi specific verb support payload verb g/s vid description bit response (32 bits) description get 0xf04 n/a (0) n/a (0) the AD1986A has only a single sdi line, thus set sdi verbs are ignored and get sdi verbs always return a 0. sdi select set 0x704 n/a (0) 8 n/a (0) processing coefficient get c--0x n/a (0) coefficient get/set the processing coefficient at the current coefficient index. index can be set by the set coefficient index verb. the coefficient indexes and data are identical to the ac 97 registers 0x60 and 0x62 definitions (see the eq control register (register 0x60) and eq data register (register 0x62) sections). note that the AD1986A does no t automatically increment the coefficient index. the index must be written for each coefficient that is to be loaded or read. set 4--x coefficient 16 n/a (0) coefficient index get d--0x n/a (0) coefficient index get/set the processing coefficient index for the get/set processing coefficient verb. the coefficient inde xes and data are identical to the ac 97 register 0x60 and 0x62 definitions. (see the eq control register (register 0x60) and eq data register (register 0x62) sections). note that the AD1986A does not automatically increment the coefficient index. the index must be written for each coefficient that is to be loaded or read. set 5--0x coefficient index 8 n/a (0) processing state get 0xf03 n/a (0) processing state processing states supported by the ad1986 digital eq: value processing (eqm bit [inversed]) symmetry (sym bit) 0x00 off on 0x01 benign on 0x02 benign on 0x80 off off 0x81 benign off 0x82 benign off set 0x703 processing state 8 n/a (0) note that the AD1986A considers states on and benign as both benign. if the on state is set, the ad1986 will set and return the benign state. states 0x00 or 0x80 must be set when loading coefficients. setting state 0x80 will load coefficients with sym off. default state 0x00 is sym on. when symmetry is on, only ? of the coefficients (one channe l) need to be loaded. table 30. surround dac audio output nid name tid type description 0x04 surround dac audio output 0x0 audio output designates the surround channel dacs. table 31. adi specific verb support payload verb g/s vid description bit response (32 bits) description sdi select get 0xf04 n/a (0) n/a (0) the ad1986 has a only single sdi line, thus set sdi verbs are ignored and get sdi verbs always return a 0. set 0x704x n/a (0) 8 n/a (0)
AD1986A rev. 0 | page 16 of 56 table 32. center/lfe dac audio output nid name tid type description 0x05 center/lfe dac audio output 0x0 audio output designates the surround channel dacs. table 33. record adc audio input nid name tid type description 0x06 record adc audio input 0x1 audio inp ut designates the record channel adcs. table 34. analog mixer nid name tid type description 0x07 analog mixer 0x2 audio mixer mixes anal og input signals into line out audio. table 35. mono mixer nid name tid type description 0x08 mono mixer 0x2 audio mixer mixes the left/right channels from the analog mixer into a mono signal. table 36. downmix nid name tid type description 0x09 surround to stereo down mix 0x 2 audio mixer mixes 5.1 stereo to 4.0 or 2.0 on front channels. table 37. adi specific verb support payload verb g/s vid description bits response (32 bits) description amplifier gain/mute get b--0x amp/index 16 amp settings this widget contains mute bits for the output and only one input. surround dac (input amp index 0), has a mute bit. the clfe dac input (input amp index 1) does not have a mute control. writing the clfe dac input mute will have no effect and will always return a 0 when read. set 3--0x amp set payload 16 n/a (0) table 38. headphone selector nid name tid type description 0x0a headphone selector 0x3 audio selector chooses the hp source. table 39. line out selector nid name tid type description 0x0b line out selector 0x3 audio se lector chooses the line out source. table 40. surround selector nid name tid type description 0x0c surround selector 0x3 audio selector chooses the surround source. table 41. center/lfe selector nid name tid type description 0x0d center/lfe selector 0x3 audio se lector chooses the center/lfe source. table 42. mono out selector nid name tid type description 0x0e mono out selector 0x3 audio se lector chooses the mono out source.
AD1986A rev. 0 | page 17 of 56 table 43. microphone selector nid name tid type description 0x0f microphone selector 0x3 audio selector chooses the microphone inputs between the mic_1/2 and c/lfe pins. contains the microphone gain boost amplifier. table 44. line in selector nid name tid type description 0x10 line in selector 0x3 audio selector chooses the line in inputs be tween the line in, surround and mic_1/2 pins. table 45. mic_1/2 swap nid name tid type description 0x11 mic_1/2 swap 0x3 audio selector swaps the left/right association of mic_1/2 on the input pins only. allows up mix, spreading one microphone to both left and right output channels. table 46. adi specific verb support payload verb g/s vid description bit response (32 bits) description processing get c--0x n/a (0) n/a (0) not supported. writes have no effect, reads always return a 0. coefficient set 4--0x n/a (0) 16 n/a (0) coefficient get d--0x n/a (0) n/ a (0) not supported. writes have no effect, reads always return a 0. index set 5--0x n/a (0) 8 n/a (0) processing state get 0xf03 n/a (0) processing state controls the up-mix function of the mic_1/2 swap widget. up-mix will spread the selected left channel (see the left/right swap feature of the enable eapd/btl verb description) to both the left and right channel outputs of this stereo widget. value processing state up-mix spreading 0x00 off off 0x01 benign on 0x02 benign on set 0x703 processing state 8 n/a (0) note that the ad1986 considers both on and benign states as benign. if the on state is set, the ad1986 will set and return the benign state. table 47. record selector nid name tid type description 0x12 record selector 0x3 audio selector choos es the analog source to the record adcs. table 48. microphone mixamp nid name tid type description 0x13 microphone mixamp 0x3 audio selector the mic rophone amplifier input to the analog mixer. table 49. phone mixamp nid name tid type description 0x14 phone mixamp 0x3 audio selector the phone amplifier input to the analog mixer. table 50. cd mixamp nid name tid type description 0x15 cd mixamp 0x3 audio selector the cd amplifier input to the analog mixer.
AD1986A rev. 0 | page 18 of 56 table 51. aux mixamp nid name tid type description 0x16h aux mixamp 0x3h audio selector the au xiliary input amplifier to the analog mixer. table 52. line in mixamp nid name tid type description 0x17 line in mixamp 0x3 audio selector the li ne in amplifier input to the analog mixer. table 53. pc beep selector nid name tid type description 0x18 pc beep selector 0x3 audio selector the digital/analog pc beep selector and amplifier input to the analog mixer. table 54. digital pc beep nid name tid type description 0x19 digital pc beep 0x7 digital beep digital pc beep generator. table 55. hp out nid name tid type description 0x1a hp out 0x4 pin complex hp_out pin drivers. contains the output amplifier for hp gain control. supports headphone drive function. see the pin widget control verb descriptions. table 56. line out nid name tid type description 0x1b line out 0x4 pin complex line (front)_out pin drivers. contains the output amplifier for line (front) gain control. supports headphone drive function. supports the eapd (external amp power-down) function pin. table 57. surround out nid name tid type description 0x1c surround out 0x4 pin complex surround pin drivers. contains the output amplifier for surround gain control. supports multitasking as either the surround outputs or can be config ured as the line_in inputs. table 58. c/lfe out nid name tid type description 0x1d c/lfe out 0x4 pin complex c/lfe pin drivers. contains the output amplifier for c/lfe gain control. supports the left/right channel swap function. supports multitasking as either the c/lfe outputs or can be configured as the mic1/2 inputs. supports microphone bias (vref_out). table 59. mono out nid name tid type description 0x1e mono out 0x4 pin complex mono_out pin driver. contai ns the output amplifier for mono_out gain control.
AD1986A rev. 0 | page 19 of 56 table 60. mic_1/2 in nid name tid type description 0x1f mic_1/2 in 0x4 pin complex mic_1/2 in pin driver. can be configured as a microphone or line_in input. table 61. line in nid name tid type description 0x20 line in 0x4 pin complex line_in pin driver. can be configured as a line_in or microphone input. table 62. aux in nid name tid type description 0x21 aux in 0x4 pin complex aux_in pin driver. line level auxiliary input. table 63. cd in nid name tid type description 0x22 cd in 0x4 pin complex cd_in pin driver. differential, low noise, analog cd audio input. table 64. phone in nid name tid type description 0x23 phone in 0x4 pin complex phone_in pin driver. mono line level input. table 65. pcbeep in nid name tid type description 0x24 pcbeep in 0x4 pin complex pcbeep_in pin driver. mono li ne level input. when the AD1986A is in reset, the signal on this pin is routed to all output capable pins. used for bios post beeps or messages. table 66. s/pdif out nid name tid type description 0x25 s/pdif out 0x4 pin complex digital s/pdif output drivers. this pin can be hardware- enabled by connecting an external resistor to dvss or by software control. table 67. analog power-down nid name tid type description 0x26 analog power-down 0x5 power widget controls power on analog mixer and associated amplifiers. this will control the power st ate of all widgets in its connection list. table 68. mic/c/lfe mixer nid name tid type description 0x27 mic / c/lfe mixer 0x2 audio mixer mixes the mic1/2_in and c/lfe input signals together to support simultaneous microphones on front and rear panels. multiple microphones do not ha ve individual gain controls. table 69. mic/line in mixer nid name tid type description 0x28 mic / line in mixer 0x2 audio mixer mixes the mic1/2_in and line_i n input signals together to support simultaneous microphones on front and rear panels. multiple microphones do not ha ve individual gain controls.
AD1986A rev. 0 | page 20 of 56 table 70. c/lfe/line in mixer nid name tid type description 0x29 c/lfe / line in mixer 0x2 audio mixer mixes the c/lfe and line_in input signals together to support simultaneous microphones on front and rear panels. multiple microphones do not ha ve individual gain controls. table 71. mic/line in/c/lfe mixer nid name tid type description 0x2a mic/line in/c/lfe mixer 0x2 audio mixer mixes the mic1/2_in, line_in and c/lfe input signals to support simultaneous microphones on front and rear panels. multiple microphones do not ha ve individual gain controls. table 72. mic_1/2 mixer nid name tid type description 0x2b mic_1/2 mixer 0x2 audio mixer mixes the left and right channels of the selected microphone input into a mono stream. this si gnal drives both the left and right channels of the following circuitry. used to mix two mono microphones on separa te jacks. left and right microphones can be programmed with separate gain boost (0 db, 10 db, 20 db, or 30 db), but do not have any other gain or mute controls.
AD1986A rev. 0 | page 21 of 56 ac 97 register details reset (register 0x00) writing any value to this register performs a register reset, which causes all registers to revert to their default values. the serial configuration (0x74) register will not reset the slot16, regm [2:0], spovr, spal, spdz, and splnk. these bits are reset on a ha rd, hardware, or power-on reset. the regm and serial configuration bits are reset only by an external hardware reset. the ac 97, revision 2.3, page 1 registers codec class/rev (0x 601), pci svid (0x621), pci sid (0x641), function information (0x 681per supported function), and sense register st [3:0] bits (0x6a1 d [15:13]per supported function) are reset only on a power-on res et. to satisfy the ac 97, revision 2.3 requirements, these registers/bits are sticky across all software and hardware resets. reading this register returns the id code of the part and a code for the type of 3d stereo enhancement. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x00 reset x se4 se3 se2 se1 se0 id9 id8 id7 id6 id5 id4 id3 id2 id1 id0 0x0290 table 73. register function the id decodes the capabilities of the AD1986A based on the functions. bit function AD1986A id [9:0] id0 dedicated mic pcm in channel 0 id1 reserved (per ac 97, revision 2.3) 0 id2 bass and treble control 0 id3 simulated stereo (mono to stereo) 0 id4 headphone out support 1 0x290 id5 loudness (bass boost) support 0 id6 18-bit dac resolution 0 id7 20-bit dac resolution 1 id8 18-bit adc resolution 0 id [9:0] (ro) (identify capability) id9 20-bit adc resolution 1 se [4:0] (ro) (stereo enhancement) the AD1986A does not provide hardware 3d stereo enhancement (all bits are zero). default: 0x00 x reserved. default: 0 master volume (register 0x02) this register controls the line_out, surround, and center/lfe ou tputs mute and volume controls in unison. each volume sub- register contains five bits, generating 32 volume steps of ?1.5 db each for a range of 0 db to ?46.5 db. the headphone output (hp_out) mute and volume are controlled separately by the headphones volume register (0x04).the mono output (mono_out) mute and volume are controlled separately by the mono volume register (0x06). to control the line_out, surround, and center/lfe volumes separately, use the front dac volume register (0x18) for line_out; the surround dac volume register (0x38) for surround; and the c/ lfe dac volume register (0x36) for center/lfe. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x02 master volume lm x x lv4 lv3 lv2 lv1 lv0 rm x x rv4 rv3 rv2 rv1 rv0 0x8080
AD1986A rev. 0 | page 22 of 56 table 74. register function left/right volume controls th e left/right channel output gains from 0 db to C46.5 db. the least significant bi t represents C1.5 db. l/rm l/rv [4:0] function default 0 0 0000 0 db default 0 0 1111 ?22.5 db attenuation 0 1 1111 ?46.5 db attenuation l/rv [4:0] (left/right volume) 1 x xxxx muted l/rm (left/right mute) mutes the left/right channels inde pendently. default: muted (0x1) x reserved. default: 0 headphone volume (register 0x04) this register controls the hp_out mute and volume controls. each volume subregister contains five bits, generating 32 volume st eps of ?1.5 db each for a range of 0 db to ?46.5 db. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x04 headphones volume lm x x lv4 lv3 lv2 lv1 lv0 rm x x rv4 rv3 rv2 rv1 rv0 0x8080 table 75. register function left/right volume controls th e left/right channel output gains from 0 db to C46.5 db. the least significant bi t represents C1.5 db. l/rm l/rv [4:0] function default 0 0 0000 0 db default 0 0 1111 ?22.5 db attenuation 0 1 1111 ?46.5 db attenuation l/rv [4:0] (left/right volume) 1 x xxxx muted l/rm (left/right mute) mutes the left/right channels inde pendently. default: muted (0x1) x reserved. default: 0 mono volume (register 0x06) this register controls the mono_out mute and volume control. the volume register contains five bits, generating 32 volume steps of ?1.5 db each for a range of 0 db to ?46.5 db. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x06 mono volume m x x x x x x x x x x v4 v3 v2 v1 v0 0x8000 table 76. register function v [4:0] volume controls the output gain fr om 0 db to C46.5 db. the least si gnificant bit represents C1.5 db. (volume) m v [4:0] function default 0 0 0000 0 db default 0 0 1111 ?22.5 db attenuation 0 1 1111 ?46.5 db attenuation 1 x xxxx muted m (mute) mutes the output. default: muted (0x1) x reserved. default: 0
AD1986A rev. 0 | page 23 of 56 pc beep (register 0x0a) this controls the level of the analog pc beep or the level and frequency of the digital pc beep. the volume register contains f our bits, generating 16 volume steps of ?3.0 db each for a range of 0 db to ?45.0 db. the tone frequency can be set between 47 hz to 12,0 00 hz or disabled. per intels bios writers guide, the pc beep signal should play via headphone out, line out, and mono out paths. bios algorithm s should unmute the pc beep register and the path to each output, and set the volume levels for playback. when the AD1986A is in reset (the external reset pin is low), the pcbeep_in pin is connected internally to all of the device ou tput pins (headphone l/r, line_out l/r, mono_out, surround l/r, and center/lfe). there are no amplifiers or attenuators on this path and the external circuitry connected to this pin should anticipate the drive requirements for the multiple output sources. headphones connected to output pins will substantially load the signal. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x0a pc beep m a/ds x f7 f6 f5 f4 f3 f2 f1 f0 v3 v2 v1 v0 x 0x8000 table 77. register function controls the gain into the output mixer from 0 db to ?45.0 db. the least significant bit represents ?3.0 db. the gain default is 0 db and muted. m v3...v0 function default 0 0000 0 db default 0 1111 ?45 db attenuation v [3:0] (analog or digital volume) 1 xxxx muted the result of dividing the 48 khz clock by four times this number, allowing tones from 47 hz to 12 khz. a value of 0x00 disables internal pc beep generation. the digitally-generated si gnal is close to a square wave and is not intended to be a high quality signal. f7...f0 function 0000 disabled default 0001 12,000 hz tone f [7:0] (pc beep frequency) 1111 47 hz tone a/ds (pc beep source) selects either the digital pc beep generator (= 0) or analog pcbeep pin (= 1). when the codec is in reset mode the analog pcbeep pin is routed to the outputs via a high impedance path. once out of reset, this bit must be pr ogrammed to a 1 to pass through any signals on the analog pcbeep pin. designers can choose not to connect the analog pcbeep pin and use the digital pc beep generator solely. default: digitally-selected (0x0) m (pc beep mute) when this bit is set to 1, the pc beep signal (analog or digital) is muted. default: muted (0x1) x reserved. default: 0 phone volume (register 0x0c) this register controls the phone_in mute and gain to the analog mixer section. the volume register contains five bits, generati ng 32 volume steps of 1.5 db each for a range of 12.0 db to ?34.5 db. this does not control the record adc gain (see register 0x1c ). reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x0c phone volume m x x x x x x x x x x v4 v3 v2 v1 v0 0x8008
AD1986A rev. 0 | page 24 of 56 table 78. register function controls the gain of this input to the an alog mixer from +12.0 db to ?34.5 db. th e least significant bit represents ?1.5 db. mv [4:0] function default 0 0 0000 12 db gain 0 0 1000 0 db default 0 1 1111 ?34.5 db attenuation v [4:0] (volume) 1 x xxxx muted m (mute) mutes the input to the an alog mixer. default: muted (0x1) x reserved. default: 0 microphone volume (register 0x0e) this register controls the mic_1 (left) and mic_2 (right) channels gain, boost, and mute to the analog mixer section. the volu me register contains five bits, generating 32 volume steps of ?1.5 db each for a range of +12.0 db to ?34.5 db. this does not control the r ecord adc gain (see register 0x1c). in typical stereo microphone applications, the signal paths must be identical and should be set to the same gain, boost, and mu te values. with stereo controls, this input is capable of using nonmicrophone sources by disabling the microphone boost (m20 bit = 0). reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x0e microphone volume lm x x lv4 lv3 lv2 lv1 lv0 rm m20 x rv4 rv3 rv2 rv1 rv0 0x8888 table 79. register function controls the left/right channel gains of th is input to the analog mixer from +12 db to ?34.5 db. the least significant bit represents ?1.5 db. l/rm l/rv [4:0] function default 0 0 0000 12 db gain 0 0 1000 0 db default 0 1 1111 ?34.5 db attenuation l/rv [4:0] (left/right volume) 1 x xxxx mute enables additional gain to increase the microphone sensitivity. this controls the boost of both the mic_1 and mic_2 channels. the nominal gain boost by default is 20 db; however, mbg0 [1:0] bits (register 0x76), allow changing the gain boost to 10 db or 30 db if necessary. m20 mgb0 [1:0] boost gain default 0 xx 0 db gain default: disabled 1 00 20 db gain default 1 01 10 db gain m20 (mic_1/2 gain boost) 1 x xxxx mute l/rm (left/right mute) mutes the left/right channels inde pendently. default: muted (0x1) x reserved. default: 0
AD1986A rev. 0 | page 25 of 56 line_in volume (register 0x10) this register controls the line_in gain and mute to the analog mixer section. the volume register contains five bits, generatin g 32 volume steps of ?1.5 db each for a range of +12.0 db to ?34.5 db. this does not control the record adc gain (see register 0x 1c). reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x10 line in volume lm x x lv4 lv3 lv2 lv1 lv0 rm x x rv4 rv3 rv2 rv1 rv0 0x8888 table 80. register function controls the left/right channel gains of th is input to the analog mixer from +12 db to ?34.5 db. the least significant bit represents ?1.5 db. l/rm l/rv [4:0] function default 0 0 0000 12 db gain 0 0 1000 0 db default 0 1 1111 ?34.5 db attenuation l/rv [4:0] (left/right volume) 1 x xxxx muted l/rm (left/right mute) mutes the left/right channels inde pendently. default: muted (0x1) x reserved. default: 0 cd volume (register 0x12) this register controls the cd gain and mute to the analog mixer section. the volume register contains five bits, generating 32 volume steps of ?1.5 db each for a range of +12.0 db to ?34.5 db. this does not control the record adc gain (see register 0x1c). many operating systems will play cds directly using the digital da ta from the cd tracks. this control will only affect cd audio playback if it is enabled for analog and this input is connected to the cd player analog connection. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x12 cd volume lm x x lv4 lv3 lv2 lv1 lv0 rm x x rv4 rv3 rv2 rv1 rv0 0x8888 table 81. register function controls the left/right channel gains of th is input to the analog mixer from +12 db to C34.5 db. the least significant bit represents C1.5 db. l/rm l/rv [4:0] function default 0 0 0000 12 db gain 0 0 1000 0 db default 0 1 1111 ?34.5 db attenuation l/rv [4:0] (left/right volume) 1 x xxxx muted l/rm (left/right mute) mutes the left/right channels inde pendently. default: muted (0x1) x reserved. default: 0
AD1986A rev. 0 | page 26 of 56 aux volume (register 0x16) this register controls the aux_in gain and mute to the analog mixer section. the volume register contains five bits, generating 32 volume steps of ?1.5 db each for a range of +12.0 db to ?34.5 db. this does not control the record adc gain (see register 0x 1c). reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x16 aux volume lm x x lv4 lv3 lv2 lv1 lv0 rm x x rv4 rv3 rv2 rv1 rv0 0x8888 table 82. register function controls the left/right channel gains of th is input to the analog mixer from +12 db to ?34.5 db. the least significant bit represents ?1.5 db. l/rm l/rv [4:0] function default 0 0 0000 12 db gain 0 0 1000 0 db default 0 1 1111 ?34.5 db attenuation l/rv [4:0] (left/right volume) 1 x xxxx mute l/rm (left/right mute) mutes the left/right channels inde pendently. default: muted (0x1) x reserved. default: 0 front dac volume (register 0x18) this register controls the front dac gain and mute to the analog mixer section. the volume register contains five bits, generat ing 32 volume steps of ?1.5 db each for a range of +12.0 db to ?34.5 db. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x18 front dac volume lm x x lv4 lv3 lv2 lv1 lv0 rm x x rv4 rv3 rv2 rv1 rv0 0x8888 table 83. register function controls the left/right channel gains of this input to the analog mixer from + 12 db to ?34.5 db. the least significant bit represents ?1.5 db. l/rm l/rv [4:0] function default 0 0 0000 +12 db gain 0 0 1000 0 db default 0 1 1111 ?34.5 db attenuation l/rv [4:0] (left/right volume) 1 x xxxx mute l/rm (left/right mute) mutes the left/right channels inde pendently. default: muted (0x1) x reserved. default: 0
AD1986A rev. 0 | page 27 of 56 adc select (register 0x1a) this register selects the record source for the adc, independently for the right and left channels. the default value is 0x0000 , which corresponds to the mic_1/2 input for both channels. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x1a adc select x x x x x ls2 ls1 ls0 x x x x x rs2 rs1 rs0 0x0000 table 84. register ls [2:0] left record source function 000 mic_1/2 selector left channel default 001 cd_in left 010 muted C 011 aux_in left 100 line_in left 101 stereo output mix left 110 mono output mix mono ls [2:0] (left record select) 111 phone_in mono rs [2:0] right record source 000 mic_1/2 selector left channel default 001 cd_in right 010 muted C 011 aux_in right 100 line_in right 101 stereo output mix right 110 mono output mix mono rs [2:0] (right record select) 111 phone_in mono table 85. microphone selector oms [2:0] 1 mmix 2 2cmic 3 ms 4 left channel 5 right channel 000 0 0 0 mic_1 (default) 000 0 0 1 mic_2 000 0 1 0 mic_1 mic_2 000 0 1 1 mic_2 mic_1 000 1 x x mic_1 + mic_2 (mixed) 001 0 0 0 line_in left 001 0 0 1 line_in right 001 0 1 0 line_in left line_in right 001 0 1 1 line_in right line_in left 001 1 x x line inleft + right (mixed) 01x 0 0 0 center 01x 0 0 1 lfe 01x 0 1 0 center lfe 01x 0 1 1 lfe center 01x 1 x x center + lfe (mixed) 100 0 0 0 mic_1 + center (mixed) 100 0 0 1 mic_2 + lfe (mixed) 100 0 1 0 mic_1 + center (mixed) mic_2 + lfe (mixed) 100 0 1 1 mic_2 + lfe (mixed) mic_1 + center (mixed) 100 1 x x mic_1 + mic_2 + center + lfe (mixed)
AD1986A rev. 0 | page 28 of 56 oms [2:0] 1 mmix 2 2cmic 3 ms 4 left channel 5 right channel 101 0 0 0 mic_1 + line_in left (mixed) 101 0 0 1 mic_2 + line_in right (mixed) 101 0 1 0 mic_1 + line_in left (mixed) mic_2 + line_in right (mixed) 101 0 1 1 mic_2 + line_in right (mixed) mic_1 + line_in left (mixed) 101 1 x x mic_1 + mic_2 + line_in left + line right (mixed) 110 0 0 0 line_in left + center (mixed) 110 0 0 1 line_in right + lfe (mixed) 110 0 1 0 line_in left + center (mixed) line_in right + lfe (mixed) 110 0 1 1 line_in right + lfe (mixed) line_in left + center (mixed) 110 1 x x line_in left + line_in right + center + lfe (mixed) 111 0 0 0 mic_1 + line_in left + center (mixed) 111 0 0 1 mic_2 + line_in right + lfe (mixed) 111 0 1 0 mic_1 + line_in left + center (mixed) mic_2 + line_in right + lfe (mixed) 111 0 1 1 mic_2 + line_in right + lfe (mixed) mic_1 + line_in left + center (mixed) 111 1 x x mic_1 + mic_2 + line_in left + line_in right + center + lfe (mixed) 1 to select the alternate pins as a microphone source, see the oms [2:0] bit (register 0x74). 2 to mix the left/right mic channels, see mmix bit (register 0x7a). 3 for dual mic recording, see 2cmic bit (register 0x76) to enable simultaneous recording into l/r channels. 4 to swap left/right mic channels, see the ms bit (register 0x20) for mic_1/2 selection. 5 the mono_out pin can be connected to the left channel of the microphone selector and is affected by these bits. adc volume (register 0x1c) this register controls the mute and gain of the adc record path. the volume register contains four bits, generating 16 volume s teps of 1.5 db each for a range of 0 db to 22.5 db. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x1c adc volume lm x x x lv3 lv2 lv1 lv0 rm x x x rv3 rv2 rv1 rv0 0x8080 table 86. register function controls the left/right channel gains of this input to the analog mixer from 0 db to 22.5 db. the least significant bit represents 1.5 db. l/rm l/rv [3:0] function default 0 0000 0 db default 0 1000 12.0 db gain 0 1111 22.5 db gain l/rv [4:0] (left/right volume) 1 xxxx muted l/rm (left/right mute) mutes the left/right channels inde pendently. default: muted (0x1) x reserved. default: 0
AD1986A rev. 0 | page 29 of 56 general-purpose (register 0x20) this register should be read before writing to generate a mask for only the bit(s) that need to be changed. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x20 general- purpose x x x x drss1 drss0 mix ms lpbk x x x x x x x 0x0000 table 87. register function default lpbk (loop- back control) this bit enables the digital internal lo op back from the adc to the front dac. this feature is normally used for testing and troubleshooting. see lbks bit in register 0x74 for changing the loop back path to use the surround or center/lfe dacs. default: disabled (0x0) ms (mic select) used in conjunction with oms [2:0] (0x74 d10:08]), 2cmic (0x76 d06) and mmix (0x7a d02). selects which mic input goes into the adc0 record sele ctors mic channel inputs. when set, this bit swaps the left and right channels. selects mono output audio source. mix mono output connection 0 mixconnected to the mono mixer output. default mix (mono output select) 1 micconnected to the left channel of the mic selector and swap. the drss bits specify the slots for th e n+1 sample outputs. pcm l (n+1) an d pcm r (n+1) data are by default provided in output slots 10 and 11. drss [1:0] function 00 pcm l, r (n+1) data is on slots 10 and 11 default 01 pcm l, r (n+1) data is on slots 7 and 8 drss [1:0] (double rate slot select) 1x reserved x reserved. default: 0 audio int and paging (register 0x24) this register controls the audio interrupt and register paging mechanisms. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x24 audio int and paging i4 i3 i2 i1 i0 x x x x x x x pg3 pg2 pg1 pg0 0xxx00 table 88. register function this register is used to select a descriptor of 16 word pa ges between registers 0x60 to 0x6 f. a value of 0x0 is used to select vendor-specific space to maintain compatibility with ac 97 revision 2.2 vendor specific registers. system software can determine implemented pages by writing the pa ge number and reading the value back. if the value read back does not match the value written, the page is not implemented. all imple mented pages must be in consecutive order (that is, page 0x2 cannot be implemented without page 0x1). pg [3:0] addressing page selection default 000 (page 0) page 0 (vendor) registers default 001 (page 1) page id 01, registers defined in ac 97, revision 2.3 pg [3:0] (page selector (read/write)) page 0xC0xf reserved software should not unmask the interrupt unless the ac 97 controller ensures that no conflict is possible with modem slot 12gpi functionality. ac 97 revi sion 2.2-compliant controllers will not likely support audio codec interrupt infrastructure. in that case, software can poll the interrupt status after initiating a sense cycle and waiting for sense cycle max delay (defined by so ftware) to determine if an interrupting event has occurred. i0 interrupt mask status 0 interrupt generation is masked default i0 (interrupt enable (read/write)) 1 interrupt generation is unmasked
AD1986A rev. 0 | page 30 of 56 register function writing a 1 to this bit causes a sense cycle start if supported. if a sense cycle is in progress, writing a 0 to this bit will abort the sense cycle. the data in the sense result register (0x6a, page 01) can or can not be valid, as determined by the iv bit. i1 read write 0 sense cycle completed (o r not initiated) default aborts sense cycle (if in process) 1 sense cycle still in process initiate sense cycle i1 (sense cycle (read/write)) these bits will indicate the ca use(s) of an interrupt. this information should be used to service the correct interrupting event(s). if the interrupt status (bit i4) is set, one or both of these bits must be set to indicate the interrupt cause. hardware will reset these bits back to zero when the inte rrupt status bit is cleared. i2 interrupt status 0 sense status has not changed (di d not cause interrupt). default 1 sense cycle completed or new sense information is available i3 0 gpio status change did not cause interrupt i [3:2] ( interrupt cause (ro)) 1 gpio status change caused interrupt interrupt event is cleared by writing a 1 to this bit. the interrupt bit will chan ge regardless of condition of interrupt enable (i0) status. an interrupt in the gp i in slot 12 in the ac link will follow th is bit change when interrupt enable (i0) is unmasked. if this bit is set, one or both of i3 or i2 must be set to indicate the interrupt cause. i4 read write 0 interrupt clear default no operation i4 (interrupt status (read/write)) 1 interrupt generated clears interrupt x reserved. default: 0 power-down ctrl/stat (register 0x26) the ready bits are read only; writing to ref, anl, dac, and adc has no effect. these bits indicate the status for the AD1986A subsections. if the bit is 1 then that subsection is ready. ready is defined as the subsection able to perform in its nominal state. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x26 power- down ctrl/stat eapd pr6 pr5 pr4 pr3 pr2 pr1 pr0 x x x x ref anl dac adc 0x000x table 89. register adc adc status 0 adc not ready 1 adc sections ready to transmit data adc (ro) (adc section status (ro)) dac front dac status 0 adc not ready adc (ro) ((front dac status (ro)) 1 adc sections ready to transmit data anl analog status 0 analog amplifiers, attenuators, and mixers not ready anl (ro) (analog amplifiers, attenuators and mixers status (ro)) 1 analog amplifiers, attenuators, and mixers ready
AD1986A rev. 0 | page 31 of 56 register adc adc status vref_out pin output states controlled by the cvre f, mvref, and lvref controls in register 0x70. ref vref status 0 voltage references, vref and vref_out not ready. ref (ro) (voltage references, v ref and vref_out status (read only)) 1 voltage references, vref, and vr ef_out up to nominal level. pr0 all adcs and input selectors power down: clearing th is bit enables vref regardless of the state of pr3. default: all adcs and input muxes powered on (0x0). pr1 front dacs power-down. also po wers down the eq circ uitry. clearing this bit enable s vref regardless of the state of pr3. default: all dacs and eq powered on (0x0). pr2 analog mixer power-down. (valid if pr7 = 0). default: analog mixer powered on (0x0). pr3 all vref and vref_out pins power-down. ma y be used in combination with pr2 or by itself. if all the adcs and dacs are not powered down, setting this bi t will have no effect on the vref and will only power down vref_out. default: all vrefand vref_out pins powered on (0x0). pr4 ac-link interface power-down. the reference and the mixer can be either up or down, but all power-up sequences must be allowed to run to completion before pr5 and pr4 are both set. in mult iple-codec systems, the master codecs pr4 bit controls the slave codec. in the slave codec the pr4 bit has no effect except to enable or disable pr5. default: ac-link interface powered on (0x0). pr5 internal clocks disabled. pr5 has no effect unless all adcs, dacs, and the ac-link are powered down (for example, pr0, pr1, pr4). the reference and the mixer can be either up or down, but all power-up se quences must be allowed to run to completion before pr5 and pr4 are both set. in multiple codec systems, the master codecs pr5 controls the slave co dec. pr5 is effective in the slave codec if the master's pr5 bit is clear. default: internal cl ocks enabled (0x0). pr6 powers down the headphone amplifiers. default: hp amp powered on (0x0). eapd eapd pin status 0 sets the eapd pin low, enabling an external power amplifier. default eapd 1 sets the eapd pin high, shutting th e external power amplifier off. x reserved. default: 0 extended audio id (register 0x28) the extended audio id register identifies which extended audio features are supported. a nonzero extended audio id value indica tes one or more of the extended audio features are supported. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x28 extd audio id id1 id0 x x rev1 rev0 amap ldac sdac cdac dsa1 dsa0 x spdf dra vra 0x0bc7 table 90. register description setting function vra (ro) variable rate pcm audio: read only = 1 variable rate pcm audio supported spdif (ro) spdif support: read only = 1 spdif transmitter supported (iec958) dra (ro) double rate audio: read only = 1 double rate audio supported for dac0 l/r dsa [1:0] dac slot assignment (read/write) front dac surround dac c/lfe dac default dsa [1:0] left right left right left right 00 3 4 7 8 6 9 default 01 7 8 6 9 10 11 10 6 9 10 11 3 4 11 10 11 3 4 7 8
AD1986A rev. 0 | page 32 of 56 register description setting function cdac (ro) pcm center dac: read only = 1 pcm center dac supported sdac (ro) pcm surround dac: read on ly = 1 cm surround dacs supported ldac (ro) pcm lfe dac: read only = 1 pcm lfe dac supported amap (ro) slot dac mappings: read only = 1 codec id based slot/dac mappings rev [1:0] (ro) ac97 version: read only = 10 codec is ac 97, revision 2.3-compliant id [1:0] (ro) codec configuration: read only = 00 primary ac 97 x reserved default: 0 extd audio stat/ctrl (register 0x2a) the extended audio status and control register is a read/write register that provides status and control of the extended audio features. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x2a extd audio stat/ctrl x x prk prj pri spcv x ldac sdac cdac spsa1 spsa0 x spdif dra vra 0x0xx0 table 91. register function enables variable rate audio mode. enables sample rate registers and slotreq signaling. vra vra state default 0 disabled, sample rate 48 khz for all adcs and dacs default vra (variable rate audio) 1 enabled, adcs and dacs can be set to variable sample rates dra = 1. enables double-rate audio mode in which data fr om pcm l and pcm r in output slots 3 and 4 is used in conjunction with pcm l (n + 1) and pcm r (n + 1) data to provide dac streams at twice the sample rate designated by the pcm front sample rate control register. wh en using the double rate audio, only the front dacs are supported and all other dacs (surround, center, and lfe) are automatically powered down . the slot that contains the additional data is determined by the drss [1:0] bits (0x20 d [11:10]). note that dra can be used without vra, in which case the converter rates are forced to 96 khz if dra = 1. dra dra state default 0 disabled, dacs sample at the programmed rate default dra (double rate audio) 1 enabled, dacs sample at tw ice (2) the programmed rate spdif transmitter subsystem enable/disable bit (read/write). this bit is also used to validate that the spdif transmitte r output is actually enabled. the sp dif bit is only allowed to be se t high, if the spdif pin (48) is pulled down at power-up enabling the codec transmitter logic. if the spdif pin is floating or pulled high at power-up, the transmitter logic is disabled and therefore this bit returns a lo w, indicating that the spdif transmitter is not available. this bit mu st always be read back, to verify that the spdif transmitter is actually enabled. spdif function 0 disables the s/pdif transmitter default 1 enables the s/pdif transmitter spdif ac '97 revision 2.2 amap-compliant default spdif slot assignments. spsa [1:0] s/pdif slot assignment 00 3 and 4 default 01 7 and 8 10 6 and 9 spsa [1:0] (spdif slot assignment bits: (read/write)) 11 10 and 11 cdac center dac status 0 center dac not ready 1 center dac section ready to receive data 0 surround dac not ready cdac (ro) (center dac status) 1 surround dac section ready to receive data ldac lfe dac status 0 lfe dac not ready ldac (ro) (lfe dac status) 1 lfe dac section ready to receive data spcv (ro) indicates the status of the spdif tr ansmitter subsystem, enabling the driver to determine if the currently programmed
AD1986A rev. 0 | page 33 of 56 register function spdif configuration is supported. spcv is always valid, independent of the spdif enable bit status. spcv s/pdif configuration status 0 invalid spdif configuration (spsa, spsr, dac slot rate, drs) (spdif configuration valid) 1 valid spdif configuration actual status reflected in the cdac (0x3a d06) bit. pri center dac power status 0 power on center dac default pri (center dac power-down) 1 power down center dac actual status reflected in the sdac bit. prj surround dacs power control 0 power on surround dacs default prj (surround dacs power- down) 1 power down surround dacs actual status reflected in the ldac bit. prk lfe dacs power control 0 power on lfe dac default prk (lfe dac power-down) 1 power down lfe dac x reserved. default: 0 front dac pcm rate (register 0x2c) this read/write sample rate control register contains 16-bit unsigned value, representing the rate of operation in hz. if the v ra bit (0x2a d00) is 0 this register is forced to 48 khz (0xbb80). if vra is 1, this register can be programmed with the actual sample rate. to use 96 khz in ac 97 mode set the double rate audio (dra) bit (0x2a d01). when using dra in ac 97, only the front dacs are supported and all other dacs (surround, center, and lfe) are automatically powered down. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x2c front dac pcm rate r15 r14 r13 r12 r11 r10 r9 r8 r7 r6 r5 r4 r3 r2 r1 r0 0xbb80 table 92. register function r [15:0] (sample rate) the sampling frequency range is from 7 khz (0x01b58) to 48 khz (0 xbb80) in 1 hz increments. if 0 is written to vra, then the sample rates are reset to 48 khz.
AD1986A rev. 0 | page 34 of 56 surround dac pcm rate (register 0x2e) this read/write sample rate control register contains a 16-bit unsigned value, representing the rate of operation in hz. if the vra bit (0x2a d00) is 0, this register is forced to 48 khz (0xbb80). if vra is 1, this register can be programmed with the actual sampl e rate. if the dra bit (0x2a d01) is set, the surround dac is inoperative and automatically powered down. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x2e surr_1 dac pcm rate r15 r14 r13 r12 r11 r10 r9 r8 r7 r6 r5 r4 r3 r2 r1 r0 0xbb80 table 93. register function r [15:0] (sample rate) the sampling frequency range is from 7 khz (0x01b58) to 48 khz (0x bb80) in 1 hz increments. if ze ro is written to vra then the sample rates are reset to 48 khz. c/lfe dac pcm rate (register 0x30) this read/write sample rate control register contains a 16-bit unsigned value, representing the rate of operation in hz. if the vra bit (0x2a d00) is 0 this register is forced to 48 khz (0xbb80). if vra is 1, this register can be programmed with the actual sample rate. if the dra bit (0x2a d01) is set, the c/lfe dac is inoperative and automatically powered down. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x30 c/lfe dac pcm rate r15 r14 r13 r12 r11 r10 r9 r8 r7 r6 r5 r4 r3 r2 r1 r0 0xbb80 table 94. register function r [15:0] (sample rate) the sampling frequency range is from 7 khz (0x01b58) to 48 khz (0 xbb80) in 1 hz increments. if 0 is written to vra then the sample rates are reset to 48 khz. adc pcm rate (register 0x32) this read/write sample rate control register contains 16-bit unsigned value, representing the rate of operation in hz. if the v ra bit (0x2a d00) is 0 (zero) this register is forced to 48 khz (0xbb80). if vra is 1, this register can be programmed with the actual sampl e rate. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x32 adc 0 pcm rate r15 r14 r13 r12 r11 r10 r9 r8 r7 r6 r5 r4 r3 r2 r1 r0 0xbb80 table 95. register function r [15:0] (sample rate) the sampling frequency range is from 7 khz (0x01b58) to 48 khz (0 xbb80) in 1 hz increments. if 0 is written to vra then the sample rates are reset to 48 khz.
AD1986A rev. 0 | page 35 of 56 c/lfe dac volume (register 0x36) this register controls the center/lfe dac gain and mute to the output selector section. the volume register contains five bits, generating 32 volume steps of ?1.5 db each for a range of +12.0 db to ?34.5 db. note that the left/right association of the center and lfe channels can be swapped at the codec outputs by setting the cswp bit in register 0x74. these controls remain unchanged regardless of the state of cswp. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x36 c/lfe dac volume lfem x x lfe4 lfe3 lfe2 lfe1 lfe 0 cntm x x cnt4 cnt3 cnt2 cnt1 cnt0 0x8888 table 96. register function controls the gain of the center channel to the output selector section from +12. 0 db to ?34.5 db. the least significant bit represents ?1.5 db. cntm cnt [4:0] function default 0 0 0000 +12 db gain 0 0 1000 0 db attenuation default 0 1 1111 ?34.5 db attenuation cnt [4:0] (center volume) 1 x xxxx muted cntm (center mute) mutes the center channel. default: muted (0x1) controls the gain of the lfe channel to the output selector section from +12.0 db to ?34.5 db. the least significant bit represents ?1.5 db. lfem lfe[4:0] function 0 0 0000 +12 db gain 0 0 1000 0 db attenuation default 0 1 1111 ?34.5 db attenuation lfe [4:0] (lfe volume) 1 x xxxx muted lfem (lfe mute) mutes the lfe channel. default: muted (0x1) x reserved. default: 0 surround dac volume (register 0x38) this register controls the surround dac gain and mute to the output selector section. the volume register contains five bits, g enerating 32 volume steps of ?1.5 db each for a range of +12.0 db to ?34.5 db. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x18 surround dac volume lm x x lv4 lv3 lv2 lv1 lv0 rm x x rv4 rv3 rv2 rv1 rv0 0x8888 table 97. register function controls the left/right channel gains of this input to the output selector sect ion from +12 db to -34.5 db. the least significant bit represents ?1.5 db. l/rm l/rv [4:0] function default 0 0 0000 +12 db gain 0 0 1000 0 db default 0 1 1111 ?34.5 db attenuation l/rv [4:0] (left/right volume) 1 x xxxx muted l/rm (left/right mute) mutes the left/right channels inde pendently. default: muted (0x1) x reserved. default: 0
AD1986A rev. 0 | page 36 of 56 spdif control (register 0x3a) register 0x3a is a read/write register that controls spdif func tionality and manages bit fields propagated as channel status (o r subframe in the v-case). with the exception of v, this register should only be written to when the spdif transmitter is disabled (spdif bit in register 0x2a is 0). this ensures that control and status info rmation start up correctly at the beginning of spdif transmission . reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x3a spdif control v vcfg spsr x l cc6 cc5 cc4 cc3 cc2 cc1 cc0 pre copy /audio pro 20000x table 98. register function indicates professional use of the audio stream. pro state default 0 consumer use of channel default pro (professional) 1 professional use of channel indicates that the data is pcm or another format (such as ac3). /audio state 0 data in pcm format default /audio (nonaudio) 1 data in non-pcm format allows receivers to make co pies of the digital data. copy state 0 copyright asserted default copy (copyright) 1 copyright not asserted disables filter pre-emphasis. pre state 0 filter pre-emphasis is 50/15 sec default pre (pre-emphasis) 1 no pre-emphasis cc [6:0] (category code) programmed according to iec standards, or as appropriate. l (generation level) programmed according to iec standards, or as appropriate. chooses between 48.0 khz and 44.1 khz s/pdif transmitter rate. spsr transmit sample rate 0 44.1 khz spsr (spdif transmit sample rate) 1 48.0 khz default when asserted, this bit forces the spdif stream validity flag (b it 28 within each spdif l/r subframe) to be controlled by the validity bit (d15) in register 0x3a (spdif control register). vcfg v validity bit state reset default: 0 0 0 managed by codec error detection logic default 0 1 forced high, indicating subframe data is invalid 1 0 forced low, indicating subframe data is valid vcfg (validity force bit) 1 1 forced high, indicating subframe data is invalid v (validity) this bit affects the validity flag, (bit 28 transmitted in each spdif l/r subframe) and enables the spdif transmitter to mainta in connection during error or mute conditions. note that the vcfg bit (0x3a d14) will fo rce the validity flag high (valid) or low (invalid). see the vcfg bit description. v state 0 each spdif subframe (l+r) has bit 28 set to 1 default this tags both samples as invalid 1 each spdif subframe (l+r) has bit 28 set to 0 for va lid data and 1 for invalid data (error condition) x reserved. default: 0
AD1986A rev. 0 | page 37 of 56 eq control register (register 0x60) register 0x60 is a read/write register that controls equalizer function and data setup. the register also contains the biquad a nd coefficient address pointer, which is used in conjunction with the eq data register (0x78) to set up the equalizer coefficients. the reset default disables the equalizer function until the coefficients can be properly set up by the software and sets the symmetry bit to allo w equal coefficients for left and right channels. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x60 eq control eqm x x x x x x x sym chs bca5 bca4 bca3 bca2 bca1 bca0 0x8080 table 99. biquad and coefficient address pointer bca [5,0] biquad 0 coef a0 bca [5,0] = 011011 biquad 0 coef a1 bca [5,0] = 011010 biquad 0 coef a2 bca [5,0] = 011001 biquad 0 coef b1 bca [5,0] = 011101 biquad 0 coef b2 bca [5,0] = 011100 biquad 1 coef a0 bca [5,0] = 100000 biquad 1 coef a1 bca [5,0] = 011111 biquad 1 coef a2 bca [5,0] = 011110 biquad 1 coef b1 bca [5,0] = 100010 biquad 1 coef b2 bca [5,0] = 100001 biquad 2 coef a0 bca [5,0] = 100101 biquad 2 coef a1 bca [5,0] = 100100 biquad 2 coef a2 bca [5,0] = 100011 biquad 2 coef b1 bca [5,0] = 100111 biquad 2 coef b2 bca [5,0] = 100110 biquad 3 coef a0 bca [5,0] = 101010 biquad 3 coef a1 bca [5,0] = 101001 biquad 3 coef a2 bca [5,0] = 101000 biquad 3 coef b1 bca [5,0] = 101100 biquad 3 coef b2 bca [5,0] = 101011 biquad 4 coef a0 bca [5,0] = 101111 biquad 4 coef a1 bca [5,0] = 101110 biquad 4 coef a2 bca [5,0] = 101101 biquad 4 coef b1 bca [5,0] = 110001 biquad 4 coef b2 bca [5,0] = 110000 biquad 5 coef a0 bca [5,0] = 110100 biquad 5 coef a1 bca [5,0] = 110011 biquad 5 coef a2 bca [5,0] = 110010 biquad 5 coef b1 bca [5,0] = 110110 biquad 5 coef b2 bca [5,0] = 110101 biquad 6 coef a0 bca [5,0] = 111001 biquad 6 coef a1 bca [5,0] = 111000 biquad 6 coef a2 bca [5,0] = 110111 biquad 6 coef b1 bca [5,0] = 111011 biquad 6 coef b2 bca [5,0] = 111010 table 100. register function swaps the blocks that are used for symmetry coe fficients. only valid when the sym bit is set. chs function default 0 selects left channel coeffi cients data block default chs (channel select) 1 selects right channel coefficients data block when set to 1 this bit indicates that the le ft and right channel coefficients are equal. this shortens the coefficients setup sequence since only the le ft channel coefficients need to be addressed and set up. the right channel coefficients are simultaneously copied into memory. sym function 0 left and right channels can use different coefficients sym (symmetry) 1 indicates that the left and right ch annel coefficients are equal default when set to 1, this bit disabl es the equalizer function (allows all data to pass through). the reset defaul t sets this bit to 1 , disabling the equalizer function until the biquad coefficients can be properly set. eqm function 0 eq is enabled. eqm (equalizer mute) 1 eq is disabled. data will pass- through without change. default x reserved. default: 0
AD1986A rev. 0 | page 38 of 56 eq data register (register 0x62) this read/write register is used to transfer eq biquad coefficients into memory. the register data is transferred to, or retrie ved from, the address pointed by the bca bits in the eq cntrl register (0x60). data will only be written to memory, if the eqm bit (register 0x60 bit 15) is asserted. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x62 eq data cfd15 cfd14 cfd13 cfd12 cfd11 cfd10 cfd9 cfd8 cfd7 cfd6 cfd5 cfd4 cfd3 cfd2 cfd1 cfd0 0xxxxx table 101. register function cfd [15:0] (coefficient data) the biquad coefficients are fixed point format values with 16 bi ts of resolution. the cfd15 bit is the msb and the cfd0 bit is the lsb. misc control bits 2 (register 0x70) reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x70 misc control bits 2 x x x mvref 2 mvref 1 mvref 0 x x mmdis x jsmap cvref 2 cvref 1 cvref 0 x x 0x0000 table 102. register function cvref [2:0] (c/lfe vref_out control) sets the voltage/state of the c/lfe vref_out signal. vref_out is used to power microphone style devices plugged into the connected jack circ uitry. the vref_out pin must be co nnected to both the left and right channels through external resistors to function properly. selections other than those defined are invalid and should not be programmed. c/lfe vref_out setting cvref [2:0] 5.0 av dd default 000 hi-z default 001 2.25 v 010 0 v 100 3.70 v jsmap (jack sense mapping) the AD1986A supports two different methods of mapping the jack_sense_a/b resistor tree to bits js [7:0]. use these bits to change fr om the default mapping to the alternate method. jsmap function 0 default jack sens e mapping default 1 alternate jack sense mapping mmdis (mono mute disable) disables the automatic muting of the mono_out pin by jack sense events (see advanced jack sense bits js [3:0] (0x76 d [05:04], 0x72 d [05:04]). mmdis function 0 automute can occur default 1 automute disabled mvref [2:0] (mic vref_out) sets the voltage/state of the microphone vref_out signal . vref_out is used to power microphone-style devices plugged into the connected jack circ uitry. the vref_out pin must be co nnected to both the left and right channels through external resistors to function properly. selections other than those defined are invalid and should not be programmed. mic_1/2 vref_out setting mvref [2:0] 5.0 av dd 000 hi-z default 001 2.25 v 010 0 v 100 3.70 v x reserved. default: 0
AD1986A rev. 0 | page 39 of 56 jack sense (register 0x72) all register bits are read/write except for js0st and js1st, which are read only. important: refer to table 103 to understand h ow jack_sense_a and jack_sense_b codec pins translate to js1and js0. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x72 jack sense js1 sprd js1 dmx js0 dmx jsmt 2 jsmt 1 jsmt 0 js1 eqb js0 eqb x x js1 md js0 md js1 st js0 st js1 int js0 int 0x0000 table 103. register function indicates js0 has generated an interrupt. remains set until the so ftware services js0 interrupt; that is, js0 isr should clear this bit by writing a 0 to it. interrupts are generated by valid state changes of js pins. interrupt to the system is actually an or combination of this bit and js3 js0 int. the interrupt implementation path is sele cted by the ints bit (register 0x74). it is also possible to generate a software sy stem interrupt by writing a 1 to this bit. js0int read write 0 js0 did not generate interrupt no operation js0int (js0 interrupt status) 1 js0 generated interrupt clears js0int bit indicates js1 has generated an interrupt. remains set until the so ftware services js1 interrupt; that is, js1 isr should clear this bit by writing a 0 to it. see the js0int description above for additional details. js1int read write 0 js1 did not generate interrupt no operation js1int (js1 interrupt status) 1 js1 generated interru pt clears js1int this bit always reports the logic state of js0. on mic jack sensing, depending on the applications circuit, the logic state for jack sense pins can be the opposite to that on other jacks. software needs to be aware that this interprets the js event as a plug in the out event. js0st function default 0 js0 is low (0) js0st (ro) (js0 state) 1 js0 is high (1) this bit always reports the logic state of js1. mic jack sensin g, depending on the applications circuit, the logic state for js pins can be the opposite to the other jacks. js1st function 0 js1 is low (0) js1st (ro) (js1 state) 1 js is high (1) this bit selects the operation mode for js0. js0md function 0 jack sense modejs0int must be polled by software default js0md (js0 mode) 1 interrupt modecodec will gene rate an interrupt on js0 event this bit selects the operation mode for js1. js1md function 0 jack sense modejs1int must be polled by software default js1md (js1 mode) 1 interrupt modecodec will gene rate an interrupt on js1 event this bit enables js0 to control the eq by pass. when this bit is set to 1, js0 = 1 will cause the eq to be bypassed. js0eqb function 0 js0 does not a ffect eq default js0eqb (js0 eq bypass enable) 1 js0 = 1 will cause the eq to be bypassed this bit enables js1 to control the eq bypass. when this bit is set to 1, j s1=1 will cause the eq to be bypassed. js1eqb function 0 js1 does not a ffect eq default js1eqb (js1 eq bypass enable) 1 js1 = 1 will cause the eq to be bypassed
AD1986A rev. 0 | page 40 of 56 register function jsmt [2,0] (js mute enable selector) these three bits select and enable the jack sense muting action. see table 104. js0dmx (js0 down- mix control enable) this bit enables js0 to control the down- mix function. this function allows a digital mix of 6-channel audio into 2-channel audio. the mix can then be routed to the ster eo line_out or hp_out jacks. when this bit is set to 1, js0 = 1 will activate the down-mix conversion. see the dmix description in register 0x 76. the dmix bits select the down-mix implementation type and can also force the func tion to be activated. js0dmx function 0 js0 does not affe ct down mix default 1 js0 = 1 activates the 6- to 2-channel down mix this bit enables js1 to control the down-mix function (see the js0dmx description abo ve). when this bit is set to 1, js1 = 1 will activate the down-mix conversion. js1dmx function 0 js1 does not affect down-mix default js1dmx (js1 down- mix control enable) 1 js1 = 1 activates the 6- to 2-channel down-mix this bit enables the 2-channel to 6-channel audio spread function when jss are active (logic state 1). note that the sprd bit can also force the spread function without being gated by the jack senses. please see this bits description in register 0x76 for a better understanding of the spread function. jssprd function 0 js1 does not affe ct spread default jssprd (js spread control enable) 1 j10 = 1 activates spread x reserved. default: 0 table 104. jack sense mute selections (jsmt) ref js1 js0 jsmt2 jsmt1 jsmt0 hp out line out c/lfe out surr out mono out notes 0 out (0) out (0) 0 0 0 active active ac tive active active js0 and js1 ignored 1 out (0) in (1) 0 0 0 active active active active active 2 in (1) out (0) 0 0 0 active active active active active 3 in (1) in (1) 0 0 0 active active active active active 4 out (0) out (0) 0 0 1 active fmute fm ute fmute active js0 no mute action 5 out (0) in (1) 0 0 1 active fmute fmute fmute active js1 mutes mono and enables line_out + surr_out + c/lfe 6 in (1) out (0) 0 0 1 active active active active fmute 7 in (1) in (1) 0 0 1 active active acti ve active fmute standard 6 chan config 8 out (0) out (0) 0 1 0 fmute active fmute fmute active js0 no mute action, swapped hp_out and line_out 9 out (0) in (1) 0 1 0 fmute active fmute fmute active js1 mutes mono and enables hp_out + surr_out + c/lfe 10 in (1) out (0) 0 1 0 active active active active fmute 11 in (1) in (1) 0 1 0 active active ac tive active fmute standard six channel configuration no swap 12 out (0) out (0) 0 1 1 ** ** ** ** ** **reserved 13 out (0) in (1) 0 1 1 ** ** ** ** ** 14 in (1) out (0) 0 1 1 ** ** ** ** ** 15 in (1) in (1) 0 1 1 ** ** ** ** ** 16 out (0) out (0) 1 0 0 active fmute fmute fmute active js0 = 0 and js1 = 0 enables mono 17 out (0) in (1) 1 0 0 active active active active fmute js1 = 1 enabled front only 18 in (1) out (0) 1 0 0 active fmute fmute fmute fmute js0 = 1 and js1 = 0 enables all rear 19 in (1) in (1) 1 0 0 active fmute fmut e fmute fmute 6 chan config with front jack wrap back
AD1986A rev. 0 | page 41 of 56 ref js1 js0 jsmt2 jsmt1 jsmt0 hp out line out c/lfe out surr out mono out notes 20 out (0) out (0) 1 0 1 fmute fmute fmut e fmute active js0 no mute action 21 out (0) in (1) 1 0 1 fmute fmute fmute fmute active js1 mutes mono and enables all rear. 22 in (1) out (0) 1 0 1 active active active active fmute 23 in (1) in (1) 1 0 1 active active ac tive active fmute standard six channel configuration swapped hp_out and line_out 24 out (0) out (0) 1 1 0 ** ** ** ** ** **reserved 25 out (0) in (1) 1 1 0 ** ** ** ** ** 26 in (1) out (0) 1 1 0 ** ** ** ** ** 27 in (1) in (1) 1 1 0 ** ** ** ** ** 28 out (0) out (0) 1 1 1 ** ** ** ** ** **reserved 29 out (0) in (1) 1 1 1 ** ** ** ** ** 30 in (1) out (0) 1 1 1 ** ** ** ** ** 31 in (1) in (1) 1 1 1 ** ** ** ** ** fmute = output is forced to mute independent of the respective volume register setting. active = output is not muted and its status is dependent on the respective volume register setting. out = nothing is plugged into the jack and therefore the js status is 0 (via the load resistor pull-down action). in = jack has plug inserted and therefore the js status is 1 (via the codec js pin internal pull-up). serial configuration (register 0x74) when register 0x00 is written (soft reset) the slot 16, regm [2:0], spovr, spal, spdz, and splnk bits do not reset. all bits ar e reset on a hardware reset or power-on reset. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x74 serial configuration slot 16 regm2 regm1 regm0 regm3 oms2 oms1 om0 spovr lbks1 lbks0 ints cswp spal spdz sp lnk 0x1001 table 105. register function default this bit enables s/pdif to link with the front dacs for data requesting. when linked , the s/pdif and front dacs should be set to the same data rate because th ey both generate data requests at the front dacs request rate. splnk function 0 s/pdif and front dacs are not linked splnk (s/pdif link) 1 s/pdif and front dacs are linked default sets data fill mode for s/pdif tr ansmitter fifo under-runs. when th is bit is set to on (1), the s/pdif and adc rates should be set to the same rate. spdz on under-runs 0 repeat last sample out the s/pdif stream default spdz (s/pdif dacz) 1 forces midscale sample out the s/pdif stream spal s/pdif transmitter source 0 connected to the ac-link stream default spal (s/pdif adc loop around) 1 connected to the digital adc stream swaps the center/lfe channels. some systems have a swapped ex ternal connection for the center and lfe channels. setting this bit will swap these channels internal to the codec. the center and lfe controls do not change and remain at the same addresses and bit assignments. cswp center pin lfe pin 0 center channel lfe channel default (cswp center/lfe swap) 1 lfe channel center channel
AD1986A rev. 0 | page 42 of 56 register function default this bit selects the audio interrupt implementation path. note that this bit does not generate an interrupt, rather it steers t he path of the generated interrupt. ints interrupt mode 0 bit 0 slot 12 (modem interrupt) default ints (interrupt mode select) 1 slot 6 valid bit (mic adc interrupt) these bits select the internal digital loop-back path when lpbk bit is active (see register 0x20). lbks [1:0] interrupt mode 00 loop back through the front dacs default 01 loop back through the surround dacs 10 loop back through the center and lfe dacs (center dac loops back from the adc left channel, the lfe dac from the adc right channel) lbks [1:0] loop-back selection 11 reserved use this bit to enable s/pdif operation even if the ex ternal s/pdif detection resistor is not installed. spovr s/pdif detection 0 external resistor determines the presence of s/pdif default spovr (s/pdif enable override) 1 enable s/pdif operation selects the source of the microphone gain boost amplifiers. th ese bits work in conjuction with the 2cmic (0x76, d06), ms (0x20 d08), and mmix (0x7a d08) bits. oms [2:0] left channel 000 mic pins default 001 line_in pins 01x c/lfe pins 100 mix of mic and c/lfe pins 101 mix of mic and line_in pins 110 mix of line_in and c/lfe pins oms [2:0] optional microphone selector 111 mix of mic, line_in and c/lfe pins regm [3:0] bit mask indicating which codec is be ing accessed in a chained codec configuration. regm0master codec register mask default regm1slave 1 codec register mask regm2slave 2 codec register mask regm3slave 3 codec register mask slot 16 enable 16-bit slot mode: slot16 makes all ac link slots 16 bits in length, formatted into 16 slots . this is a preferred mode fo r dsp serial port interfacing. slot 16 function 0 standard ac 97 operation default 1 all ac link s slots are 16 bits x reserved default: 0
AD1986A rev. 0 | page 43 of 56 misc control bits 1 (register 0x76) reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x76 misc control bits 1 dacz ac97nc msplt sodis cldis x dmix1 dmix0 sprd 2cmic sosel sru lisel1 lisel0 mbg1 mbg0 6010 table 106. register function these two bits allow changing both mic preamp gain bl ocks from the nominal 20 db gain boost. both mic_1/2 and mic_2 preamps will be set to the same selected gain. this gain setting takes affe ct only while bit d6 (m20) on the mic volume register (0x0e) is set to 1, otherwise the mic boost blocks have a gain of 0 db. mgb [1:0] microphone boost gain default 00 20 db default 01 10 db 10 30 db mbg [1:0] (mic boost gain select register) 11 reserved selects the source of the internal line_in signals. lisel [1:0] line_in selection 00 line_in pins default 01 surround pinsplaces surroun d outputs in hi-z state lisel [1:0] (line_in selector) 1x mic_1/2 pins controls all dac sample rate locking. sru surround state 0 all dac sample rates are locked to the front sample rate sru (sample rate unlock) 1 front, surround, and lfe sample rate s can be set independently default selects either the surround dac or analog mixer as the source driving the surro und output pin amplifier. sosel surround source 0 surround dacs default sosel (surround amplifier input selection) 1 analog mixer 2cmic (2-channel mic select) used in conjunction with the oms [2 :0] (0x74 d10:08]), ms (0x20 d08), and mmix (0x7a d02) bits to set the microphone selection. this bit enables simultaneous re cording from mic_1 and mic_2 inputs, using a stereo microphone array. if the mmix (0x7a d02) bit is set, this bit is ignored. 2cmic 2 channel mic state 0 both outputs are driven by the le ft channel of the selector default 1 stereo operation, the left and right channels are driven separately sprd (spread enable) this bit enables spreading of 2-channel media to all 6- output channels. this functi on is implemented in the analog section by using the output selector control li nes for the center/lfe, surround, and line_out output channels. the jack sense pins can also be set up to co ntrol (gate) this function, depending on the jssprd bit (see register 0x72). the sprd bit ope rates independently and does not a ffect the losel and hpsel operation. sprd spread state 0 no spreading occurs unless ac tivated by jack sense default 1 the spdr selector drives the center and lfe outputs from the mono_out cldis (c/lfe output enable) controls the hi-z state of the surround_l/r output pins. pi ns are placed into a hi-z mode by software control or when they are selected as inputs to the mic_ 1/2 selector (see the oms [2:0] bits 740x d [10:08]). cldis c/lfe output state 0 outputs enabled default 1 outputs tristated
AD1986A rev. 0 | page 44 of 56 register function dmix [1:0] (down mix mode select) provides analog down-mixing of the center, lfe, and/or surround channels into the mixer channels. this allows the full content of 5.1 or quad media to be played thro ugh stereo headphones or speakers. the jack sense pins can also be set up to control (gate) this function depending on the js0d mx and js1dmx bits (0x72 d [14:13]). dmix [1:0] down-mix state default 0x no down-mix unless acti vated by jack sense default 10 selects 6-to-4 down mix. the center and lfe channels are summed equally into the mixer l/r channels 11 selects 6-to-2 down mix. in addition to the center and lfe channels, the surround channels are summed into the mixer l/r channels controls the hi-z state of the surround output pins. pins are placed into a hi-z mode by software control or when they are selected as inputs to the line_in selector (see the lisel [1:0] bits 0x76 d [03:02]). cldis surround_out state 0 outputs enabled default sodis (surround output enable) 1 outputs three-stated (hi-z) msplt (ro) (mute split) separates the left and right mutes on all volume regi sters. this bit is read-o nly 1 (one) on the AD1986A, indicating that mute sp lit is always enabled. ac 97nc (ro) (ac 97 no compatibility mode) changes addressing to adi model (vs. true ac 97 defi nition). this bit is read-only 1 (one) on the AD1986A, indicating that adi addre ssing is always enabled. determines dac data fill under starved condition. dacz dac fill state 0 dac data is repeated when da cs are starved for data default dacz (dac zero-fill) 1 dac data is zero-filled when dacs are starved for data x reserved. default: 0
AD1986A rev. 0 | page 45 of 56 advanced jack sense (register 0x78) all register bits are read/write except for jsxst bits, which are read only. important: refer to table 116 to understand how jack_sense_a and jack_sense_b codec pins translate to js7js2. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x78 advanced jack sense js7 st js7 int js6 st js6 int js5 st js5 int js4 st js4 int js4- 7h x js3 md js2 md js3 st js2 st js3 int js2 int 0xxxxx table 107. register function js [7:2] int indicates that jsx has generated an interru pt. remains set until the software services jsx interrupt; that is, jsx isr should clear this bit by writing a 0 to it. interrupts are generated by valid state changes of jsx. interrupt to the system is actually an or combination of this bit and js7 js0 int. interrupt implementation path is select ed by the ints bit (register 0x74). it is also possible to generate a software sy stem interrupt by writing a 1 to this bit. js [7:4] int read write default 0 jsx logic is not interrupted clears jsx interrupt default 1 sx logic interrupted generates a software interrupt this bit always reports the logic stat e of js7 through js4 detection logic. js [7:4] st jack state 0 no jack present js [7:4] st (ro) 1 jack detected this bit selects the operation mode for js2 and js3. js [3:2] md interrupt mode js [3:2] md 0 jack sense modejack sense state requires software polling default 1 interrupt modejack sense even ts will generate interrupts this bit selects the audio interrupt implementation path (for j s4 to 7). this bit does not gene rate an interrupt, rather it steers the path of the generated interrupt. js4 to 7 interrupt modejs4 to 7 0 bit 0 slot 12 (modem interrupt) default js [4C7] interrupt mode select 1 slot 6 valid bit (mic adc interrupt) x reserved default: 0 misc control bits 3 (register 0x7a) reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x7a misc control bits 3 jsinvb hpsel1 hpsel0 losel jsin va lvref 2 lvref1 lvref 0 x x x lohpen gpo mmix x x 0x0000 table 108. register function used in conjunction with the oms [2:0] (0x74 d10:08), ms (0x20 d08), and 2cmic (0x76 d06) bits to mix the microphone selector left/right channels. if the mmix bit is set, the 2cmic and ms bits are ignored. mmix function default 0 microphone channels are not mixed default 1 the left/right channels from the microphone selector are mixed mmix sets the state of the gpo pin gpo gpo function 0 gpo pin is at logic low (dv ss ) default 1 gpo pin is at logic high (dv dd )
AD1986A rev. 0 | page 46 of 56 register function lohpen enables the headphone drive on the line_out pins. disabling the headphone drive is the same as powering it down (see the pr6 bit (0x26 d14)). lohpen function 0 line_out headphone drive is disabled default 1 line_out headphone drive is enabled lvref [2:0] (line in vref_out) sets the voltage/state of the line_in vref_out signal. vref_ out is used to power microphone style devices plugged into the connected jack circuitry. the vref_out pin must be conne cted to both the left and righ t channels through external resistors to function properly. selections other than those defined are invalid and should not be programmed. line_in vref_out setting lvref [2:0] 5.0 av dd 000 hi-z default 001 2.25 v 010 0v 100 3.70 v this bit allows the line_out output amplifiers to be driven by the mixer or the surround dacs. the main purpose for this is to allow swapping of the front and surround channels to ma ke better use of the surr/hp_ou t output amplifiers. this bit should normally be used in tandem wi th the hpsel bit (following in table). losel (line_out amplifiers input select) losel line_out select 0 line_out amplifiers are driven by the analog mixer outputs default 1 line_out amplifiers are driven by the surround dac sense_a: select the style of switch used on the audio jacks connected to sense a. jsinva jack sense invert jsinva jack sense invertsense_a 0 sense_a configured for normally-open (no) switches default 1 sense_a configured for normally-closed (nc) switches this bit allows the headphone power amps to be driven from the surround dacs, c/lfe dacs, or from the mixer outputs. hpsel [1:0] hp_out selection 00 outputs are driven by the mixer outputs default 01 outputs are driven by the surround dacs hpsel [1:0] (headphone amplifier input select) 1x outputs are driven by the c/lfe dacs
AD1986A rev. 0 | page 47 of 56 register function sense_b: select the style of switch used on the audio jacks connected to sense b. jsinvb jack sense invertsense_b 0 jack_sense_b configured for normally-open (no) switches default jsinvb (jack sense invert) 1 jack_sense_b configured for normally-closed (nc) switches x reserved. default: 0 vendor id registers (register 0x7c to 0x7e) reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x7c vendor id 1 f7 f6 f5 f4 f3 f2 f1 f0 s7 s6 s5 s4 s3 s2 s1 s0 0x4144 0x7e vendor id 2 t7 t6 t5 t4 t3 t2 t1 t0 rev7 rev6 rev5 rev4 rev3 rev2 rev1 rev0 0x5378 table 109. register function s [7:0] this register is ascii encoded to a. f [7:0] this register is ascii encoded to d. t [7:0] this register is ascii encoded to s. rev [7:0] this register is set to 0x78, identifying the AD1986A. codec class/revision register (register 0x60) reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x601 codec class/rev x x x cl4 cl3 cl2 cl1 cl0 rv7 rv6 rv5 rv4 rv3 rv2 rv1 rv0 0x0002 table 110. register function default rv [7:0] (revision id: (ro)) these bits specify a device specific revision identifie r. the vendor chooses this value. zero is an acceptable value. this field should be viewed as a vendor defi ned extension to the codec id. this number changes with new codec stepping of the same codec id. this nu mber will increment with each stepping/rev. of the codec chip. the AD1986A will return 0x00 from this register. this is a codec vendor specific field to define software compatibility for the codec. software reads this field together with co dec vendor id (register 0x7cC0x7e) to determine vendor-specific programming interface comp atibility. software can rely on vendor specific register behavior to be compatible among vendor codecs of the same class. 0x00 field not implemented cl [4:0] (codec compatibility class (ro)) 0x01-0x1f vendor-specific compatibility class code x reserved. default: 0
AD1986A rev. 0 | page 48 of 56 pci subsystem vendor id register (register 0x62, page 01) this register is only reset by power-on. it is used by the bios to store configuration information (per ac 97 revision 2.3 spe cification) and must not be reset by soft or hardware resets. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x621 pci svid pvi15 pvi14 pvi13 pvi12 pvi11 pvi10 pvi9 pvi8 pvi7 pvi6 pvi5 pvi4 pvi3 pv i2 pvi1 pvi0 0xffff table 111. register function pvi [15:0] pci sub system vendor id optional per ac 97 specificat ions, should be implemented as read/write on AD1986A. this field provides the pci subsystem vendor id of the audio or modem subass embly vendor (that is, cnr manufacturer, motherboard vendor). this is not the code c vendor pci vendor id or the ac 97 cont roller pci vendor id. if data is not available it returns 0xffff. pci subsystem device id register (register 0x64, page 01) this register is only reset by power-on. it is used by the bi os to store configuration information (per ac97 v2.3 specificatio n) and must not be reset by soft or hardware resets. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x641 pci sid pi15 pi14 pi13 pi12 pi11 pi10 pi9 pi8 pi7 pi6 pi5 pi4 pi3 pi2 pi1 pi0 0xffff table 112. register function pi [15:0] (pci vendor id) optional per ac 97 specifications, shou ld be implemented as read/write on the AD1986A. this field provides the pci subsystem id of the audio or modem subassembly (that is, c nr model, motherboard sku). this is not the codec vendor pci id or the ac 97 controller pci id. inform ation in this field must be available, be cause the ac 97 controller reads when the codec ready is asserted in the ac link. if data is not available, it should return 0xffff.
AD1986A rev. 0 | page 49 of 56 function select register (register 0x66, page 01) this register is used to select which function (analog i/o pi ns), information and i/o (0x6801), and sense (0x6a01) registers ap ply to it. the AD1986A associates fc = 0x0 with surround functions and fc = 0x01 with front functions. these are changed in the AD1986A to align with the device pinout and to separate line_out functions. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x661 function select x x x x x x x x x x x fc3 fc2 fc1 fc0 t/r 0x0000 table 113. register function t/r (fip or ring selection bit) this bit sets which jack cond uctor the sense value is measured from. soft ware will program the corresponding rng/tp selector bit together with the i/o number in bits fc [3:0]. once software programs the value and properly reads it back to confirm selection and implementation, it wi ll access the rest of the bits fields in the descriptor. mono inputs and outputs should report the relevant function and sense information when t/r is set to 0 (tip). the fip bit should report 0 (page 0x01, register 0x68, bit 0 reports no function information pr esent) when t/r is set to a 1 on a mono input or output. t/r function 0 tip (left channel) default 1 ring (right channel) these bits specify the type of audio function described by this page. these bits are read /write and represent current ac 97 revision 2.2 defined i/o capabilities. software will pr ogram the corresponding i/o numb er in this field together with the tip/ring selector bit t/r. once software programs the value and properly reads it back to confirm selection and implementation, it will access the rest of the bits fields in the descriptor. fc [3:0] function default fc [3:0] function code bits 0x0 dac 1 (master out). maps to front dacs (l/r) default 0x1 dac 2 (aux out). maps to surround dacs (l/r) 0x2 dac 3 (c/lfe). maps to c/lfe dacs 0x3 s/p-dif out 0x4 phone in 0x5 mic_1 (mic select = 0) 0x6 mic_2 (mic select = 1) 0x7 line in 0x8 cd in 0x9 video in not supported on the AD1986A 0xa aux in 0xb mono out 0xc headphone ut 0xdC0xf reserved x reserved. default: 0
AD1986A rev. 0 | page 50 of 56 information and i/o register (register 0x68, page 01) this address represents multiple registers (one for each suppor ted function code (fc [3:0] bits (0x66 d [04:01])). these values are only reset by power-on. it is used by the bios to store configuration information (per ac 97 revision 2.3 specifications) and must not be reset by soft or hardware resets. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x681 information and i/o g4 g3 g2 g1 g0 inv dl4 dl3 dl2 dl1 dl0 iv x x x fip 0xxxxx table 114. register function fip (ro) (function information present) codec default. when set to a 1, this bi t indicates that the g [4:0], inv, dl [4 :0] (in register 0x681), and st [2:0] (in register 0x6a1) bits are supported and are read/write capable. th is bit set to a 0 indicates that the g [4:0], inv, dl [4:0], a nd st [2:0] bits are not supported, and are read-only with a value of 0. mono inputs and outputs report the relevant function and sense information when t/r is set to 0 (tip). the fip bit reports a 0 (page 0x01, register 0x68, bit 0 reports no function information present) when t/r is set to a 1 on a mono input or output. fip function 0 function information not supported power-on default 1 function information supported indicates whether a sensing method is provided by the codec and if information field is valid. this field is updated by the codec. iv (information valid bit) iv function 0 after codec reset de-assertion, it indicates the codec does not provide sensing logic and this bit will be read- only. a completed sense cycle indicates that no information is provided on the sensing method. 1 after codec reset de-assertion, it indicates the codec provides sensing logic for this i/o and this bit is read/write. after clearing this bit by writing 1, when a sense cycle is co mpleted indicates that there is valid information in the remaining descriptor bi ts. writing 0 to this bit has no effect. dl [4:0] (buffer delays, read/write) a number representing a delay measuremen t for the input and output ch annels. the default value is the delay internal to the codec. the bios can add to this value th e known delays external to th e codec, such as for an external amplifier or logic. software will use this value to accurately calculate audio st ream position with respect to what is been reproduced or recorded. these values are in 20.83 micro second (1/48000 second) units. for output ch annels, this timing is from the end of ac link frame in which the sample is provided, until the time the analog signal appears at th e output pin. for input streams, this is from when the analog signal is pr esented at the pin until the representative sa mple is provided on the ac link. analog to analog paths are not considered in this measurement. the measurement is a typical measurement, at a 48 khz sample rate, with minimal in-codec processing (that is, 3d effects are turned off.) an example of an au dio output delay is filter grou p delay and fifo or other sample buffers in the path. when an audio pcm sample is wri tten to the codec in an ac 97 frame it will be delayed before the output pin is updated to that value. dl [4:0] function 0x00 information not provided 0x01-0x1e buffer delay: 20.83 s per unit 0x1f reserved indicates that the codec presents a 180 phas e shift to the signal. this bit is only reset by a power-on reset, since it is typ ically written by the system bios and is not reset by codec hard or soft resets as long as power remains applied to the codec. inv function 0 no phase shift inv (inversion bit, read/write, codec default) 1 signal is shifted by 180 from the source signal
AD1986A rev. 0 | page 51 of 56 register function g [4:0] (gain bits (read/write)) the codec updates these bits with the gain value (db relative to level-out) in 1.5 dbv increments, not including the volume control gains. for example, if the volume gain is to 0 db, then the output pin should be at the 0 db level. any difference in the gain is reflected here. when relevant, the bios updates this bit to take into co nsideration external amplifiers or other external logic that it knows about. g [3:0 ] indicates the magnitude of the gain. g [4 ] indicates whether the value is a gain or attenuationessentially it is a sign bit. these bits are only reset by a power-on re set because they are typically written by the system bios and are not reset by codec hard or soft resets as long as power remains applied to the codec. g4 g [3:0] gain/attenuation (db relative to level-out) 0 0000 0 db 0001 +1.5 db 0 ... +1.5 db g [3:0] 1111 +24.0 db 0001 ?1.5 db 1 ... ?1.5 db g [3:0] 1111 ?24.0 db x reserved default: 0 sense register (register 0x6a, page 01) this address represents multiple registers (one for each supporte d function code (fc [3:0] bits (0x66 d [04:01])). the st [2:0] bits are only reset by power-on. they are used by the bios to store configuration information (per ac 97 revision 2.3 specifications) a nd must not be reset by soft, hard, or hardware resets. the remaining bits are the result of the last sense operation performed by the impedance sensing circuitry. reg name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x6a1 sense register st2 st1 st0 s4 s3 s2 s1 s0 or1 or0 sr5 sr4 sr3 sr2 sr1 sr0 0xxxxx table 115. register function default sr [5:0] (ro) (sense result bits, ro) these bits are used to report a vendor specific fi ngerprint or value (resistance, impedance, or reactance). used with the or bits which are the multiplying factor. default: 0 these bits indicate the order the sense result bits sr [5:0] are using. for example, if measuring resistance sr = 1/or = 11: the result is 1 k?. or [1:0] order value 00 10 0 sr bits indicate the actual impedance in ohms default 01 10 1 ssr bits indicate the impedance in ohms 10 10 10 2 sr bits indicate the impedance in ohms 100 or [1:0] (ro) (order bits) 11 10 3 ssr bits indicate the impedance in ohms 1,000 s [4:0] (ro) sensed bits meaning relates to the i/o being sensed as in put or output. read-only. se nsed bits (when output sense cycle initiated). this field allows for th e reporting of the type of output peripher al/device plugged in the jack. values specified below should be interrogated with th e sr [5:0] and or [1:0] for accurate reporting. s [4:0] sense value 0x00 data not valid. indicates that the reported value(s) is invalid 0x01 no connection. indicates that th ere are no connected devices default 0x02 indicates a specific fingerprint value for devices that are not specified or are unknown 0x03 speakers (8 ?) 0x04 speakers (4 ?) 0x05 powered speakers 0x06 stereo headphone 0x07 spdif out (electrical) 0x08 spdif out (tos)
AD1986A rev. 0 | page 52 of 56 register function default 0x09 mono headset (mono speaker left channel and mic. read functions 5 and 6 for matching microphone) 0x0a allows a vendor to report sensing other type of devices/peripherals. sr [5:0] together with or [1:0] provide informat ion regarding the type of device sensed 0x0bC0x0e reserved 0x0f unknown (use fingerprint) 0x10C0x1f reserved s [4:0] (ro) sensed bits (when input sense cycle initia ted). this field allows for the reporting of the type of input peripheral/device plugged in the jack. specified values shou ld be interrogated with the sr [5:0] an d or [1:0] bits for accurate reporting. st [2:0] sense value 0x10 data not valid. indicates that the reported value(s) is invalid 0x11 no connection. indicates that th ere are no connected devices default 0x12 indicates a specific fingerprint value for devices that are not specified or are unknown 0x13 microphone (mono) 0x14 microphone (stereo) 0x15 stereo line in (ce device attached) 0x16 mono line in (ce device attached) 0x17 spdif in (electrical) 0x18 spdif in (tos) 0x19 headset (mono speaker left channel and mic.) read functions 0 to 3 for matching dac out 0x1a allows a vendor to report sensing other types of devices/peripherals. sr [5:0] together with or [1:0] provide informat ion regarding the type of device sensed 0x1bC0x1e reserved 0x1f unknown (use fingerprint) st [2:0] (connector/jack location bits, read/write) this field describes the location of the jack in the system. this field is updated by the bios. these bits are only reset by a power-on reset because it is typically written by the system bios and is not reset by codec hard or soft resets as long as power remains applied to the codec. st [2:0] jack location 0x0 rear i/o panel power-on default 0x1 front panel 0x2 motherboard 0x3 dock/external 0x4C0x6 reserved 0x7 no connection/unused i/o
AD1986A rev. 0 | page 53 of 56 jack presence detection the AD1986A uses two jack sense lines for presence detection on up to eight external jacks. these lines, combined with the device detection circuitry, enable software to determine whether there is a device plugged into the circuit and what type of device it is. with this feature, software can reconfigure jacks and amplifiers as necessary to ensure proper audio operation. jack presence is detected using a resistor tree arrangement. up to four jacks can be sensed on a single sense line by using a different value resistance for each jack between the sense line and ground (av ss ). each sense line must have a single 2.49 k? 1% resistor connected between the sense line and av dd . the specific resistor values for each jack are shown in table 116. one percent tolerance resistors should be used for all jack presence circuitry to ensure accurate detection. audio jack styles (nc/no) the jack sense lines on the AD1986A can be programmed for use with normally-open (no) or normally closed (nc) switch types. current standard stereo audio jacks have wrap-back pins that are normally closed. new audio jacks use isolated, normally open switches, which are required for resistive ladder jack presence detection. each sense group (a or b) must have the same style of jack for presence detection to function correctly. however, the group (a or b) sense type can be programmed separately to accommodate systems with different styles of jacks on the front versus rear panel. the AD1986A defaults to the isolated, normally open switch types on power-up. the jack sense style for sense_a is controlled by the jsinva bit (register 0x7a bit d11). the jack sense style for sense_b is controlled by the jsinvb bit (register 0x7a bit d15). writing a 1 to these bits will configure the corresponding sense circuit for normally closed instead of normally open switch types. wrap-back jacks cannot be used in microphone-capable cir- cuits. for this reason isolated switches are recommended. the codec defaults to sensing no style switches and this method is preferred. normally-open switches if a connection is not present, do not install the sense resistor pertaining to that connection. if a connection is present, but there is no related switch (such as an internal connection), install the sense resistor pertaining to that connection. normally closed switches connections capable of mic bias require isolated switches to function correctly. when using normally closed, wrap-back switches, the jack resistor must be split into two values. one value connects the sense line to the jack switch and the other connects the related audio connection to av ss . the total resistance (sense line to av ss ) must equal the value specified in table 116. if a connection is not present, install the sense resistors pertaining to that connection. if a connection is present, but there is no related switch (such as an internal connection), do not install the sense resistors pertaining to that connection. table 116. jack sense mapping jack_sense_a jack_sense_b resister (1% tolerance) mnemoni c jack js mnemonic jack js 4.99 k ? d js7 line out h js0 10.0 k ? line in c js4 c/lfe g js3 20.0 k ? mic_1/2 b js5 surround f js2 40.2 k ? hp_out a js1 aux in e js6
AD1986A rev. 0 | page 54 of 56 microphone selection/mixing g mic 1 center line in l mic 2 lfe line in r g mic left mic right mic select: oms[2:0] 0x74 d10-d08 def=000 (mic 1/2) 000-mic 1/2 001-line in 01x-c/lfe 100-mic+c/lfe 101-mic+line in 110-c/lfe+line in 111-mic+c/lfe+line nid: 0x0f nid: 0x27 nid: 0x28 nid: 0x29 nid: 0x2a nid: 0x2b nid: 0x11 mic boost: ac97 m20 0x0e d6 def=0 mgb[1:0] 0x76 d[1:0] def=00 mgb m20 [1:0] gain 0xx0db 100+20db 101+10db 110+30db 1 11 reserved azalia mgbl[1:0] 0x70 d[1:0] mgbr[1:0} 0x70 d[14:13] mgbl/r [1:0] gain 00 0db 01 +10db 10 +20db 11 +30db mic swap: ac97 ms 0x20 d08 def=0 2cmic 0x76 d06 def=0 mmix 0x7a d02 def=0 azalia mswp[2:0] 0x7a d02:00 mmix 2cmic ms mswp2 mswp1 mswp0 right left 00 0mic1mic1 00 1mic2mic2 01 0mic2mic1 01 1mic1mic2 1 x x mic 1+2 mic 1+2 04785-003 figure 3. microphone selection/mixing block diagram
AD1986A rev. 0 | page 55 of 56 outline dimensions compliant to jedec standards ms-026-bbc top view (pins down) 1 12 13 25 24 36 37 48 0.27 0.22 0.17 0.50 bsc lead pitch 7.00 bsc sq 1.60 max 0.75 0.60 0.45 view a 9.00 bsc sq pin 1 0.20 0.09 1.45 1.40 1.35 0.08 max coplanarity view a rotated 90 ccw seating plane 7 3.5 0 0.15 0.05 figure 4. 48-lead low profile quad flat package [lqfp] (st-48) dimensions shown in millimeters pin 1 indicator top view 6.75 bsc sq 7.00 bsc sq 1 48 12 13 37 36 24 25 5.25 5.10 sq 4.95 0.50 0.40 0.30 0.30 0.23 0.18 0.50 bsc 12 max 0.20 ref 0.80 max 0.65 typ 1.00 0.85 0.80 5.50 ref 0.05 max 0.02 nom 0.60 max 0.60 max pin 1 indicator coplanarity 0.08 seating plane 0.25 min exposed pad (bottom view) compliant to jedec standards mo-220-vkkd-2 figure 5. 48-lead lead frame chip scale package {lfcsp_vq} 7 7 mm body, very thin quad (cp-48-1) dimensions shown in millimeters ordering guide model temperature range package description package option AD1986Ajstz 1 0c to 70c 48-lead lqfp, tray st-48 AD1986Ajstz-reel 1 0c to 70c 48-lead lqfp, reel st-48 AD1986Abstz 1 C40c to +85c 48-lead lqfp, tray st-48 AD1986Abstz-reel 1 C40c to +85c 48-lead lqfp, reel st-48 AD1986Ajcp 0c to 70c 48-lead lfcsp_vq, tray cp-48-1 AD1986Ajcp-rl 0c to 70c 48-lead lfcsp_vq, reel cp-48-1 AD1986Ajcpz 1 0c to 70c 48-lead lfcsp_vq, tray cp-48-1 AD1986Ajcpz-rl 1 0c to 70c 48-lead lfcsp_vq, reel cp-48-1 1 z = pb-free part.
AD1986A rev. 0 | page 56 of 56 notes ? 2005 analog devices, inc. all rights reserved. trademarks and registered trademarks are the property of their respective owners. d05496C0-C4/05(0)


▲Up To Search▲   

 
Price & Availability of AD1986A

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X